| 1 |
commit efd3fb018c2b6d9aacc367ab29dc4b0089ba10a5 |
| 2 |
Author: Paul Voss <[email protected]> |
| 3 |
Date: Fri Mar 14 10:43:30 2014 +0100 |
| 4 |
|
| 5 |
- fixed syntax error by added missing closing bracket as mentioned in issue #44 |
| 6 |
|
| 7 |
Index: pkg-nagios-plugins-contrib/check_email_delivery/src/check_imap_quota |
| 8 |
=================================================================== |
| 9 |
--- pkg-nagios-plugins-contrib.orig/check_email_delivery/src/check_imap_quota |
| 10 |
+++ pkg-nagios-plugins-contrib/check_email_delivery/src/check_imap_quota |
| 11 |
@@ -153,7 +153,7 @@ eval { |
| 12 |
} |
| 13 |
if (!length($quotaUsed) && !length($quotaLimit)) { |
| 14 |
print "no answer from imap host\n" if $verbose > 2; |
| 15 |
- } elsif (!length($quotaUsed) || !length($quotaLimit) { |
| 16 |
+ } elsif (!length($quotaUsed) || !length($quotaLimit)) { |
| 17 |
print "incorrect answer from imap host\n"; |
| 18 |
$imap->close(); |
| 19 |
exit $status{UNKNOWN}; |