[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 01/01: Add closing brackets fix for check_imap_quota.

Bernd Zeimetz bernd at bzed.de
Fri Apr 25 16:05:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.

commit 2a2e8abee22eddb475b9e8c8c2611fdb36db7d9b
Author: Bernd Zeimetz <bernd at bzed.de>
Date:   Fri Apr 25 18:02:44 2014 +0200

    Add closing brackets fix for check_imap_quota.
---
 debian/patches/check_imap_quota/syntax_error_fix | 19 +++++++++++++++++++
 debian/patches/series                            |  3 ++-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/patches/check_imap_quota/syntax_error_fix b/debian/patches/check_imap_quota/syntax_error_fix
new file mode 100644
index 0000000..79ec943
--- /dev/null
+++ b/debian/patches/check_imap_quota/syntax_error_fix
@@ -0,0 +1,19 @@
+commit efd3fb018c2b6d9aacc367ab29dc4b0089ba10a5
+Author: Paul Voss <vosspa at rs211412.rs.hosteurope.de>
+Date:   Fri Mar 14 10:43:30 2014 +0100
+
+    - fixed syntax error by added missing closing bracket as mentioned in issue #44
+
+diff --git a/check_email_delivery/check_email_delivery-0.7.1b/check_imap_quota b/check_email_delivery/check_email_delivery-0.7.1b/check_imap_quota
+index 13f3504..b4f4643 100644
+--- a/check_email_delivery/check_email_delivery-0.7.1b/check_imap_quota
++++ b/check_email_delivery/check_email_delivery-0.7.1b/check_imap_quota
+@@ -151,7 +151,7 @@ eval {
+ 	  }
+ 	  if (!length($quotaUsed) && !length($quotaLimit)) {
+ 		print "no answer from imap host\n" if $verbose > 2;
+-	  } elsif (!length($quotaUsed) || !length($quotaLimit) {
++	  } elsif (!length($quotaUsed) || !length($quotaLimit)) {
+ 		print "incorrect answer from imap host\n";
+ 	$imap->close();
+ 	exit $status{UNKNOWN};
diff --git a/debian/patches/series b/debian/patches/series
index 3dc28f4..b6f8a37 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -30,4 +30,5 @@ check_cups/epn
 check_webinject/epn
 check_snmp_time/epn
 check_varnish/automake_foreign
-debian/patches/check_drbd/fix_for_oos_and_cosmetic
+check_drbd/fix_for_oos_and_cosmetic
+check_imap_quota/syntax_error_fix

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib



More information about the Pkg-nagios-changes mailing list