diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2010-08-23 13:14:58 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2010-08-23 13:14:58 +0000 |
commit | 12078f7f5423e5bf34b1ee10efe6098f1cb74a85 (patch) | |
tree | a914b489a84c04c7293264468e02ca13844a6113 /bootscripts | |
parent | 49c3fb7c66922662cc2f654ca18f47c134de4eed (diff) |
Fix missing 'then' in sendsignals conditionals.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9365 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/contrib/lsb-v3/ChangeLog | 2 | ||||
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/sendsignals | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bootscripts/contrib/lsb-v3/ChangeLog b/bootscripts/contrib/lsb-v3/ChangeLog index 97925c9ef..3a66200f9 100644 --- a/bootscripts/contrib/lsb-v3/ChangeLog +++ b/bootscripts/contrib/lsb-v3/ChangeLog @@ -1,5 +1,7 @@ ChangeLog +20100823 - [dj] * Fix missing 'then' in sendsignals conditionals. + 20100627 - [dj] * Sync to LFS-Bootscripts-20100627 (killall in new sysvinit). * Standardized syntax for integer comparisons in tests. diff --git a/bootscripts/contrib/lsb-v3/init.d/sendsignals b/bootscripts/contrib/lsb-v3/init.d/sendsignals index db2df47eb..2cd9df84a 100644 --- a/bootscripts/contrib/lsb-v3/init.d/sendsignals +++ b/bootscripts/contrib/lsb-v3/init.d/sendsignals @@ -22,7 +22,7 @@ case "${1}" in killall5 -15 error_value=${?} # Account for successful return value of 2 - if [ ${error_value} -eq 2 ] + if [ ${error_value} -eq 2 ]; then error_value=0 fi sleep 3 @@ -34,7 +34,7 @@ case "${1}" in killall5 -9 error_value=${?} # Account for successful return value of 2 - if [ ${error_value} -eq 2 ] + if [ ${error_value} -eq 2 ]; then error_value=0 fi |