Fix missing 'then' in sendsignals conditionals.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9365 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
DJ Lucas 2010-08-23 13:14:58 +00:00
parent 49c3fb7c66
commit 12078f7f54
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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