diff options
author | brooks <brooks@FreeBSD.org> | 2007-03-25 23:58:46 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2007-03-25 23:58:46 +0000 |
commit | ec89d3911e8cb32331c03c0c913e18254361beb8 (patch) | |
tree | 23d57c0ecd9c3298bbf10c38773681d9ea8bfdd2 /etc/rc.d/syscons | |
parent | 40f7cba48dbb0a1a972c957c9b81f2ea3647ef20 (diff) | |
download | FreeBSD-src-ec89d3911e8cb32331c03c0c913e18254361beb8.zip FreeBSD-src-ec89d3911e8cb32331c03c0c913e18254361beb8.tar.gz |
Use "-ne" instead of "!=" for integer comparison.
Diffstat (limited to 'etc/rc.d/syscons')
-rw-r--r-- | etc/rc.d/syscons | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons index 9d43644..211fcb1 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 |