aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/init.d/udev
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2010-06-27 07:33:25 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2010-06-27 07:33:25 +0000
commit559731897ec9f68b90744433e4f68402c2ce31d2 (patch)
treed2905e5533738cca5cfbca6df2252699aaef2785 /bootscripts/contrib/lsb-v3/init.d/udev
parentc8595ed6458eee262e330e2a2554f0e3fab51648 (diff)
Standardized urinary comparisons^Cn tests
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9324 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/init.d/udev')
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/udev2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootscripts/contrib/lsb-v3/init.d/udev b/bootscripts/contrib/lsb-v3/init.d/udev
index c019ab879..ec8a72cd7 100644
--- a/bootscripts/contrib/lsb-v3/init.d/udev
+++ b/bootscripts/contrib/lsb-v3/init.d/udev
@@ -40,7 +40,7 @@ case "${1}" in
if ! mountpoint /dev > /dev/null; then
mount -n -t tmpfs tmpfs /dev -o mode=755
fi
- if [ ${?} != 0 ]; then
+ if [ ${?} -ne 0 ]; then
echo_failure
boot_mesg -n "FAILURE:\n\nCannot mount a tmpfs" ${FAILURE}
boot_mesg -n " onto /dev, this system will be halted."