summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-20 07:45:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-20 07:45:42 +0000
commit7bd52309ad99e801d92fada0d6829acc45df8be8 (patch)
tree342c16f4999db01c3c1cc5ff451ba75ea5aeb426
parentUsing /bin/sh in netdata.init as it doesn't contain any bashisms. (diff)
downloadnetdata-7bd52309ad99e801d92fada0d6829acc45df8be8.tar.xz
netdata-7bd52309ad99e801d92fada0d6829acc45df8be8.zip
Fixing a few inconsistent indentings in netdata.init.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/netdata.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/netdata.init b/debian/netdata.init
index 8b9062b24..42e291751 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