[packages/nagios-alert-jabber] - and even allow multiple -b

arekm arekm at pld-linux.org
Sat Jan 7 13:00:27 CET 2017


commit 816fdfb4429fb92cbd08645dc3e7fa06af858819
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jan 7 13:00:20 2017 +0100

    - and even allow multiple -b

 nagios-jabber.alert | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nagios-jabber.alert b/nagios-jabber.alert
index 83e09fd..811c0d2 100644
--- a/nagios-jabber.alert
+++ b/nagios-jabber.alert
@@ -42,7 +42,7 @@ body = ""
 subject = "Nagios alert"
 for o, a in opts:
     if o == '-b':
-        body = a
+        body += a
     if o == '-c':
         cfg = a
     if o == '-d':
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-alert-jabber.git/commitdiff/816fdfb4429fb92cbd08645dc3e7fa06af858819



More information about the pld-cvs-commit mailing list