Init script: Fix incorrect output redirection.

This commit is contained in:
Gunnar Beutner 2013-03-12 16:16:49 +01:00
parent 98f7515eee
commit 16e2fcdf2a
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ stop() {
if kill -INT $pid >/dev/null 2>&1; then
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
fi
@ -77,7 +77,7 @@ stop() {
done
fi
if kill -CHLD $pid >/dev/null 2&>1; then
if kill -CHLD $pid >/dev/null 2>&1; then
kill -KILL $pid
fi