mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Init script: Fix shell redirection.
This commit is contained in:
parent
8f5c5b68da
commit
d03d6e14bf
@ -105,7 +105,7 @@ status() {
|
|||||||
printf "Icinga 2 status: "
|
printf "Icinga 2 status: "
|
||||||
|
|
||||||
pid=`cat $ICINGA2_PID_FILE`
|
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"
|
echo "Running"
|
||||||
else
|
else
|
||||||
echo "Not running"
|
echo "Not running"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user