[Pkg-nagios-changes] [pkg-monitoring-plugins] 04/11: Fix /proc check on systems that have hardened system

Jan Wagner waja at moszumanska.debian.org
Mon Nov 16 19:56:41 UTC 2015


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

waja pushed a commit to branch master
in repository pkg-monitoring-plugins.

commit 52ead1a6f85d1c53edefbeee794aba3ed8ee7070
Author: Klaus Ethgen <Klaus at Ethgen.de>
Date:   Wed Oct 28 00:44:42 2015 +0100

    Fix /proc check on systems that have hardened system
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index c6cd1fc..902074e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,7 +69,7 @@ config.status: configure
 	
 	# if /proc is not mounted, check_nagios and check_procs are
 	# silently omitted from build.
-	@if ! [ -d /proc/1 ]; then \
+	@if ! [ -d /proc/$$$$ ]; then \
 	  echo "monitoring-plugins needs a mounted /proc to correctly build"; \
 	  exit 1; \
 	fi

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



More information about the Pkg-nagios-changes mailing list