From 52ead1a6f85d1c53edefbeee794aba3ed8ee7070 Mon Sep 17 00:00:00 2001 From: Klaus Ethgen Date: Wed, 28 Oct 2015 00:44:42 +0100 Subject: [PATCH] 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