Init script: Fix shell redirection.

This commit is contained in:
Gunnar Beutner 2013-05-03 14:49:21 +02:00
parent 8f5c5b68da
commit d03d6e14bf
1 changed files with 1 additions and 1 deletions

View File

@ -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"