diff --git a/include/functions b/include/functions index 2737a660..eb272730 100644 --- a/include/functions +++ b/include/functions @@ -623,7 +623,7 @@ # NetBSD: machdep.dmi.system-product # OpenBSD: hw.product - SHORT=`sysctl -a | egrep "(hw.product|machdep.dmi.system-product)" 2> /dev/null | head -1 | sed 's/ = /=/' | awk -F= '{ print $2 }'` + SHORT=`sysctl -a 2> /dev/null | egrep "(hw.product|machdep.dmi.system-product)" | head -1 | sed 's/ = /=/' | awk -F= '{ print $2 }'` fi # Check if we catched some string along all tests