From: Arne Fitzenreiter Date: Tue, 13 Nov 2012 07:44:34 +0000 (+0100) Subject: initskripts: sendsignal - print ok if no processes are left. X-Git-Tag: v2.13-beta1~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f8a5b08565b456681562f5c8dcd4df7477b1d47;p=people%2Fms%2Fipfire-2.x.git initskripts: sendsignal - print ok if no processes are left. --- diff --git a/src/initscripts/init.d/sendsignals b/src/initscripts/init.d/sendsignals index 1f5e07efad..58c16c3b42 100644 --- a/src/initscripts/init.d/sendsignals +++ b/src/initscripts/init.d/sendsignals @@ -23,7 +23,7 @@ case "${1}" in sleep ${KILLDELAY} - if [ "${error_value}" = 0 ]; then + if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then echo_ok else echo_failure @@ -35,7 +35,7 @@ case "${1}" in sleep ${KILLDELAY} - if [ "${error_value}" = 0 ]; then + if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then echo_ok else echo_failure