From 16e2fcdf2a119353f948fcf2a6c0fa03216f5d1d Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 12 Mar 2013 16:16:49 +0100 Subject: [PATCH] Init script: Fix incorrect output redirection. --- etc/init.d/icinga2.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/init.d/icinga2.in b/etc/init.d/icinga2.in index 06ddb5090..c97f8b244 100644 --- a/etc/init.d/icinga2.in +++ b/etc/init.d/icinga2.in @@ -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