[Amavisd-new-commits] [pkg-amavisd-new] 19/21: Update debian/patches/90_fix_snmp_subagent_warning
Alexander Wirt
formorer at debian.org
Thu Sep 19 07:06:01 UTC 2013
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch master
in repository pkg-amavisd-new.
commit cb711d5240c2e7e6587bfbdd618d913d7fddc09a
Author: Alexander Wirt <formorer at debian.org>
Date: Thu Sep 19 09:04:28 2013 +0200
Update debian/patches/90_fix_snmp_subagent_warning
Git-Dch: Ignore
---
debian/patches/90_fix_snmp_subagent_warning | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/patches/90_fix_snmp_subagent_warning b/debian/patches/90_fix_snmp_subagent_warning
index 628a947..b290afd 100644
--- a/debian/patches/90_fix_snmp_subagent_warning
+++ b/debian/patches/90_fix_snmp_subagent_warning
@@ -9,3 +9,14 @@
if (!defined $mta_queue_dir) {
if ($! != 0) {
do_log(1, "no postfix (unable to run postconf command): $!");
+--- a/amavisd-snmp-subagent-zmq
++++ b/amavisd-snmp-subagent-zmq
+@@ -1120,7 +1120,7 @@
+ if (!defined $mta_queue_dir) { # test for access to Postfix queue directory
+ local($ENV{PATH}) = '/usr/sbin:/usr/local/sbin:/opt/postfix/sbin';
+ $! = 0;
+- $mta_queue_dir = qx(postconf -h queue_directory);
++ $mta_queue_dir = qx(postconf -h queue_directory 2>/dev/null);
+ if (!defined $mta_queue_dir) {
+ if ($! != 0) {
+ do_log(1, "no postfix (unable to run postconf command): $!");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/amavisd-new/pkg-amavisd-new.git
More information about the Amavisd-new-commits
mailing list