[Midnightbsd-cvs] src: syscons: use -ne instead of !=

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Oct 26 11:27:08 EDT 2007


Log Message:
-----------
use -ne instead of !=

Modified Files:
--------------
    src/etc/rc.d:
        syscons (r1.3 -> r1.4)

-------------- next part --------------
Index: syscons
===================================================================
RCS file: /home/cvs/src/etc/rc.d/syscons,v
retrieving revision 1.3
retrieving revision 1.4
diff -Letc/rc.d/syscons -Letc/rc.d/syscons -u -r1.3 -r1.4
--- etc/rc.d/syscons
+++ etc/rc.d/syscons
@@ -113,7 +113,7 @@
 
 	# 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
 


More information about the Midnightbsd-cvs mailing list