aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/init.d
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2010-08-23 13:14:58 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2010-08-23 13:14:58 +0000
commit12078f7f5423e5bf34b1ee10efe6098f1cb74a85 (patch)
treea914b489a84c04c7293264468e02ca13844a6113 /bootscripts/contrib/lsb-v3/init.d
parent49c3fb7c66922662cc2f654ca18f47c134de4eed (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/contrib/lsb-v3/init.d')
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/sendsignals4
1 files changed, 2 insertions, 2 deletions
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