mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 12:15:52 +02:00
initskripts: sendsignal - print ok if no processes are left.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user