diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2010-06-27 07:33:25 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2010-06-27 07:33:25 +0000 |
commit | 559731897ec9f68b90744433e4f68402c2ce31d2 (patch) | |
tree | d2905e5533738cca5cfbca6df2252699aaef2785 /bootscripts/contrib/lsb-v3/init.d/sendsignals | |
parent | c8595ed6458eee262e330e2a2554f0e3fab51648 (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/sendsignals | 8 |
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 |