From 382a9c8a8708e07f7a65ed1c8d0a4a8567cfa512 Mon Sep 17 00:00:00 2001 From: "tgoff0@gmail.com" Date: Wed, 28 Jan 2015 02:16:01 +0000 Subject: [PATCH] scripts: Include command exit status information in start/stop log messages. --- trunk/scripts/core-daemon-init.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/scripts/core-daemon-init.d b/trunk/scripts/core-daemon-init.d index 9d8f417b..1c65c6f0 100755 --- a/trunk/scripts/core-daemon-init.d +++ b/trunk/scripts/core-daemon-init.d @@ -76,7 +76,7 @@ if [ $DEB = yes ]; then log_daemon_msg "$@" } endmsg () { - echo "" + log_end_msg "$@" } else daemon="daemon /usr/bin/python" @@ -95,7 +95,7 @@ start() { msg "Starting core-daemon" $daemon $cored -d RETVAL=$? - endmsg + endmsg $RETVAL return $RETVAL } @@ -104,7 +104,7 @@ stop() { $killproc -p ${PIDFILE} $cored RETVAL=$? rm -f ${PIDFILE} - endmsg + endmsg $RETVAL return $RETVAL }