Use "-ne" instead of "!=" for integer comparison.

This commit is contained in:
Brooks Davis 2007-03-25 23:58:46 +00:00
parent 07b64b901a
commit 3f857d8115
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167889

View File

@ -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