r9323 - trunk/BOOK/bootscripts/contrib/lsb-v3/init.d

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sun Jun 27 00:05:07 PDT 2010


Author: dj
Date: 2010-06-27 01:05:07 -0600 (Sun, 27 Jun 2010)
New Revision: 9323

Modified:
   trunk/BOOK/bootscripts/contrib/lsb-v3/init.d/sendsignals
Log:
Oops, previous commit wasn't POSIX compliant

Modified: trunk/BOOK/bootscripts/contrib/lsb-v3/init.d/sendsignals
===================================================================
--- trunk/BOOK/bootscripts/contrib/lsb-v3/init.d/sendsignals	2010-06-27 06:27:04 UTC (rev 9322)
+++ trunk/BOOK/bootscripts/contrib/lsb-v3/init.d/sendsignals	2010-06-27 07:05:07 UTC (rev 9323)
@@ -22,7 +22,7 @@
         killall5 -15
         error_value=${?}
         # Account for successful return value of 2
-        if [ ${error_value} == 2 ]
+        if [ ${error_value} = 2 ]
             error_value="0"
         fi
         sleep 3
@@ -34,7 +34,7 @@
         killall5 -9
         error_value=${?}
         # Account for successful return value of 2
-        if [ ${error_value} == 2 ]
+        if [ ${error_value} = 2 ]
             error_value="0"
         fi
 




More information about the lfs-book mailing list