aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/init.d/sendsignals
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/sendsignals
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/sendsignals')
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/sendsignals8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootscripts/contrib/lsb-v3/init.d/sendsignals b/bootscripts/contrib/lsb-v3/init.d/sendsignals
index 95b26ceb9..db2df47eb 100644
--- a/bootscripts/contrib/lsb-v3/init.d/sendsignals
+++ b/bootscripts/contrib/lsb-v3/init.d/sendsignals
@@ -22,8 +22,8 @@ case "${1}" in
killall5 -15
error_value=${?}
# Account for successful return value of 2
- if [ ${error_value} = 2 ]
- error_value="0"
+ if [ ${error_value} -eq 2 ]
+ error_value=0
fi
sleep 3
@@ -34,8 +34,8 @@ case "${1}" in
killall5 -9
error_value=${?}
# Account for successful return value of 2
- if [ ${error_value} = 2 ]
- error_value="0"
+ if [ ${error_value} -eq 2 ]
+ error_value=0
fi
sleep 3