[hamradio-commits] [dump1090-mutability] 05/172: Fix some stray colons. Report failure if daemon isn't configured to start.
Matteo F. Vescovi
mfv at moszumanska.debian.org
Sun Jan 28 13:45:40 UTC 2018
This is an automated email from the git hooks/post-receive script.
mfv pushed a commit to branch master
in repository dump1090-mutability.
commit 7d0e5ecf5521b96ba119f71a01eb8c5a87927177
Author: Oliver Jowett <oliver at mutability.co.uk>
Date: Fri Dec 5 22:55:04 2014 +0000
Fix some stray colons. Report failure if daemon isn't configured to start.
---
debian/dump1090-mr.init | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/dump1090-mr.init b/debian/dump1090-mr.init
index bf526b3..514068f 100644
--- a/debian/dump1090-mr.init
+++ b/debian/dump1090-mr.init
@@ -108,7 +108,7 @@ do_start()
if [ "x$START_DUMP1090" != "xyes" ]; then
log_warning_msg "Not starting $NAME daemon, disabled via /etc/default/$NAME"
- return 0
+ return 2
fi
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
@@ -140,7 +140,7 @@ do_stop()
case "$1" in
start)
- [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC:" "$NAME"
+ [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
@@ -148,7 +148,7 @@ case "$1" in
esac
;;
stop)
- [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC:" "$NAME"
+ [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090-mutability.git
More information about the pkg-hamradio-commits
mailing list