mirror of https://github.com/Icinga/icinga2.git
Init script: Fix shell redirection.
This commit is contained in:
parent
8f5c5b68da
commit
d03d6e14bf
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue