aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/init.d/sendsignals
diff options
context:
space:
mode:
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