[nagiosplug] check_procs: clarify debug message

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Sun Aug 18 13:10:24 CEST 2013


    Module: nagiosplug
    Branch: master
    Commit: 2f79329c41d50c695129f6d11a303a86c1d98d5a
    Author: Sebastian Schmidt <sschmidt at interhyp.de>
 Committer: Holger Weiss <holger at zedat.fu-berlin.de>
      Date: Sun Aug 18 12:54:06 2013 +0200
       URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=2f79329

check_procs: clarify debug message

---

 plugins/check_procs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 873d929..d09bd8b 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -238,7 +238,7 @@ main (int argc, char **argv)
 				(!usepid && ((ret = stat_exe(procpid, &statbuf) != -1) && statbuf.st_dev == mydev && statbuf.st_ino == myino) ||
 				 (ret == -1 && errno == ENOENT))) {
 				if (verbose >= 3)
-					 printf("not considering - is myself\n");
+					 printf("not considering - is myself or gone\n");
 				continue;
 			}
 





More information about the Commits mailing list