diff options
-rw-r--r-- | debian/netdata.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/netdata.init b/debian/netdata.init index 8b9062b2..42e29175 100644 --- a/debian/netdata.init +++ b/debian/netdata.init @@ -53,7 +53,7 @@ case "$1" in log_action_end_msg 1 exit 1 fi - else + else log_action_end_msg 0 "already running" fi ;; @@ -66,7 +66,7 @@ case "$1" in fi if start-stop-daemon --stop --quiet --pidfile $PIDFILE --retry=$STOP_SCHEDULE; then - log_action_end_msg 0 + log_action_end_msg 0 else log_action_end_msg 1 "$DAEMON died: process $pid not running; or permission denied" exit 1 |