Use "-ne" instead of "!=" for integer comparison.
This commit is contained in:
parent
07b64b901a
commit
3f857d8115
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user