summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr.sbin/pc-sysinstall/backend-query/detect-laptop.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh b/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh
index 4772c2f..d23a420 100755
--- a/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh
+++ b/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh
@@ -25,7 +25,7 @@
#
# $FreeBSD$
-if devinfo | grep 'acpi_acad0' >/dev/null 2>/dev/null; then
+if devinfo | grep -q acpi_acad0; then
echo "laptop: YES"
else
echo "laptop: NO"
OpenPOWER on IntegriCloud