Revision: 249
Author: martin2812
Date: Thu Sep 16 03:48:17 2010
Log: [No log message]
http://code.google.com/p/monit/source/detail?r=249
Modified:
/trunk/validate.c
=======================================
--- /trunk/validate.c Thu Sep 16 03:46:00 2010
+++ /trunk/validate.c Thu Sep 16 03:48:17 2010
@@ -833,7 +833,8 @@
Event_post(s, Event_Resource, STATE_FAILED, r->action, "%s", report);
else {
Event_post(s, Event_Resource, STATE_SUCCEEDED, r->action, "%s",
report);
- DEBUG("%s\n", report);
+ if (*report)
+ DEBUG("%s\n", report);
}
}
_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monit-dev