From: Michael Howe Date: Mon, 8 Jan 2018 16:22:52 +0000 (+0000) Subject: check_monit: fix return code X-Git-Tag: 0.23~13^2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2F0.18;p=packages%2Fn%2Fnagios-plugins-local.git check_monit: fix return code --- diff --git a/debian/changelog b/debian/changelog index 1a744b3..032234e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +nagios-plugins-local (0.18) unstable; urgency=medium + + * check_monit: + - fix return code + + -- Michael Howe Sat, 09 Dec 2017 23:15:53 +0000 + nagios-plugins-local (0.17) unstable; urgency=medium * check_monit: diff --git a/plugins/check_monit b/plugins/check_monit index 4564d13..3abe13b 100755 --- a/plugins/check_monit +++ b/plugins/check_monit @@ -47,6 +47,6 @@ if len(unmonitored): exitcode = 2 else: print "monit: no unmonitored services" - exitcode = 1 + exitcode = 0 sys.exit(exitcode)