summaryrefslogtreecommitdiffstats
path: root/plugins/runcmd.c
diff options
context:
space:
mode:
authorSebastian Schmidt <sschmidt@interhyp.de>2012-12-09 13:31:23 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-18 10:59:57 (GMT)
commitd5677d9b42562b429218dd9436efd5f0e79d7929 (patch)
tree5fe2fd38bcba6ca177452e046d1cf6085a274453 /plugins/runcmd.c
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 'plugins/runcmd.c')
0 files changed, 0 insertions, 0 deletions