[Pkg-nagios-changes] [pkg-nsca] 01/03: Apply patch by Tomas Forsman to return status_of_proc status. (closes: #775839)

Bas Couwenberg sebastic at debian.org
Fri Dec 9 17:40:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pkg-nsca.

commit b781f32793f4d5611d9b4b3ebebc6dc9bf5b3040
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Dec 9 18:27:59 2016 +0100

    Apply patch by Tomas Forsman to return status_of_proc status. (closes: #775839)
---
 debian/changelog | 2 ++
 debian/nsca.init | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index cb832eb..1f3a2ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,8 @@ nsca (2.9.2-1) UNRELEASED; urgency=medium
     (closes: #685455)
   * Add patch to change PID directory from /var/run to /var/run/nagios.
     (closes: #689460)
+  * Apply patch by Tomas Forsman to return status_of_proc status.
+    (closes: #775839)
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 09 Dec 2016 18:13:56 +0100
 
diff --git a/debian/nsca.init b/debian/nsca.init
index 2ea5833..8160830 100644
--- a/debian/nsca.init
+++ b/debian/nsca.init
@@ -69,7 +69,7 @@ restart)
     $0 start
 ;;
 status)
-    status_of_proc -p $PIDFILE $DAEMON $NAME
+    status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
 ;;
 *)
     log_failure_msg "Usage: $N {start|stop|restart|reload|force-reload|status}"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nsca.git



More information about the Pkg-nagios-changes mailing list