Module: check_mk
Branch: master
Commit: 7e161de099054ec61562b21b2ed7b711efcac3bf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7e161de099054e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 7 08:24:09 2014 +0200
Fixed events check always being reporting OK state
Had been introduced here:
commit 6dfcbb60e3be64dcd701aa6abbc1378d4f4a1f3e
Date: Wed Jul 2 10:09:02 2014 +0200
---
mkeventd/lib/check_mkevents.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkeventd/lib/check_mkevents.cc b/mkeventd/lib/check_mkevents.cc
index f9401c5..37f0a16 100644
--- a/mkeventd/lib/check_mkevents.cc
+++ b/mkeventd/lib/check_mkevents.cc
@@ -255,5 +255,5 @@ int main(int argc, char** argv)
printf(", worst state is %s (Last line: %s)", state_text,
worst_row_event_text.c_str());
printf("\n");
}
- return 0;
+ return worst_state;
}