[Pkg-nagios-changes] [pkg-nrpe] 36/41: Use exit status 0 in init script when inetd is configured. (closes: #775924)

Bas Couwenberg sebastic at debian.org
Sun Dec 4 17:53:48 UTC 2016


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

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

commit 265b149dad227836af0b084c7e941e4daae971e3
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 4 17:42:32 2016 +0100

    Use exit status 0 in init script when inetd is configured. (closes: #775924)
---
 debian/changelog               | 2 ++
 debian/nagios-nrpe-server.init | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f290a3c..cd4c1c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,8 @@ nagios-nrpe (3.0.1-1) UNRELEASED; urgency=medium
   * Add patch to use pre-generated dh.h for reproducible builds.
   * Override dh_auto_build to build all targets.
   * Use dh-autoreconf instead of autotools-dev.
+  * Use exit status 0 in init script when inetd is configured.
+    (closes: #775924)
 
   [ Benjamin Drung ]
   * Use dh_auto_configure to enable default hardening flags.
diff --git a/debian/nagios-nrpe-server.init b/debian/nagios-nrpe-server.init
index e0ca5c7..bef12ea 100644
--- a/debian/nagios-nrpe-server.init
+++ b/debian/nagios-nrpe-server.init
@@ -52,7 +52,7 @@ set -e
 case "$1" in
   start)
 	if [ "$INETD" = 1 ]; then
-		exit 1
+		exit 0
 	fi
 	log_daemon_msg "Starting $DESC" "$NAME"
 	start_daemon -p $PIDDIR/nrpe.pid $NICENESS $DAEMON  -c $CONFIG -d $DAEMON_OPTS

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



More information about the Pkg-nagios-changes mailing list