Fix /proc check on systems that have hardened system
This commit is contained in:
parent
3fd4e78b3b
commit
52ead1a6f8
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -69,7 +69,7 @@ config.status: configure
|
||||||
|
|
||||||
# if /proc is not mounted, check_nagios and check_procs are
|
# if /proc is not mounted, check_nagios and check_procs are
|
||||||
# silently omitted from build.
|
# silently omitted from build.
|
||||||
@if ! [ -d /proc/1 ]; then \
|
@if ! [ -d /proc/$$$$ ]; then \
|
||||||
echo "monitoring-plugins needs a mounted /proc to correctly build"; \
|
echo "monitoring-plugins needs a mounted /proc to correctly build"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue