From: Gunnar Beutner Date: Fri, 3 May 2013 12:49:21 +0000 (+0200) Subject: Init script: Fix shell redirection. X-Git-Tag: v0.0.2~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d03d6e14bf57f31aa515ee4b86b6b99b55880d66;p=icinga2 Init script: Fix shell redirection. --- diff --git a/etc/init.d/icinga2.in b/etc/init.d/icinga2.in index e5b07cd2b..3f7cd2747 100644 --- a/etc/init.d/icinga2.in +++ b/etc/init.d/icinga2.in @@ -105,7 +105,7 @@ status() { printf "Icinga 2 status: " pid=`cat $ICINGA2_PID_FILE` - if kill -CHLD $pid >/dev/null 2&>1; then + if kill -CHLD $pid >/dev/null 2>&1; then echo "Running" else echo "Not running"