mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Init script: Fix incorrect output redirection.
This commit is contained in:
parent
98f7515eee
commit
16e2fcdf2a
@ -67,7 +67,7 @@ stop() {
|
|||||||
|
|
||||||
if kill -INT $pid >/dev/null 2>&1; then
|
if kill -INT $pid >/dev/null 2>&1; then
|
||||||
for i in 1 2 3 4 5 6 7 8 9 10; do
|
for i in 1 2 3 4 5 6 7 8 9 10; do
|
||||||
if ! kill -CHLD $pid >/dev/null 2&>1; then
|
if ! kill -CHLD $pid >/dev/null 2>&1; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ stop() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if kill -CHLD $pid >/dev/null 2&>1; then
|
if kill -CHLD $pid >/dev/null 2>&1; then
|
||||||
kill -KILL $pid
|
kill -KILL $pid
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user