Module: check_mk
Branch: master
Commit: c63621cb795d8b23c87532543519e02ff4e6a106
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c63621cb795d8b…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Apr 3 10:03:17 2013 +0200
notify.py: fixed syntax error
---
modules/notify.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/notify.py b/modules/notify.py
index ee5df78..1a1762f 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -450,7 +450,7 @@ def should_notify(context, entry):
if skip:
notify_log(" - Skipping: service '%s' matches non of
%s" % (
servicedesc, ", ".join(entry["only_services"])))
- continue
+ return False
# Check notification type
event, allowed_events = check_notification_type(context,
entry["host_events"], entry["service_events"])