summaryrefslogtreecommitdiffstats
path: root/contrib/restrict.pl
diff options
context:
space:
mode:
authorSebastian Schmidt <sschmidt@interhyp.de>2012-12-09 14:31:23 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-18 12:59:57 +0200
commitd5677d9b42562b429218dd9436efd5f0e79d7929 (patch)
tree5fe2fd38bcba6ca177452e046d1cf6085a274453 /contrib/restrict.pl
parent274f3ddee2431e27c5c48fcaf1aaf2ef3e40b266 (diff)
downloadmonitoring-plugins-d5677d9b42562b429218dd9436efd5f0e79d7929.tar.gz
check_procs: Ignore ENOENT when checking for myself
Previously, when a process exited between the call to /bin/ps and stat("/proc/his/exe") was exiting it was not considered as possible instance of check_procs. This commit makes check_procs ignore all processes where /proc/pid/exe does not exist.
Diffstat (limited to 'contrib/restrict.pl')
0 files changed, 0 insertions, 0 deletions