Module: check_mk
Branch: master
Commit: dcf19f8832a11aa0604bf96cd7ee048aa446f482
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dcf19f8832a11a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 17 10:41:02 2017 +0100
check_sql: Fixed wrong function call
Change-Id: Ia64dda9af1af2637ddf7f21ffbf2cbf42237e920
---
active_checks/check_sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/active_checks/check_sql b/active_checks/check_sql
index daa74aa..cb2425f 100755
--- a/active_checks/check_sql
+++ b/active_checks/check_sql
@@ -92,7 +92,7 @@ long_options = [
try:
opts, args = getopt.getopt(sys.argv[1:], short_options, long_options)
except getopt.GetoptError, e:
- bail_out("Error in command options: %s" % e)
+ bail_out(3, "Error in command options: %s" % e)
opt_debug = False