From 3f857d8115b8d10661ffb503765ecb8eabdc79a0 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Sun, 25 Mar 2007 23:58:46 +0000 Subject: [PATCH] Use "-ne" instead of "!=" for integer comparison. --- etc/rc.d/syscons | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons index 9d436441c81..211fcb18941 100644 --- a/etc/rc.d/syscons +++ b/etc/rc.d/syscons @@ -113,7 +113,7 @@ syscons_setkeyboard() # Check if the kbdmux(4) is the current active keyboard kbdcontrol -i < ${kbddev} | grep kbdmux > /dev/null 2>&1 - if [ $? != 0 ]; then + if [ $? -ne 0 ]; then kbdcontrol -k ${kbd} < ${kbddev} > /dev/null 2>&1 fi