summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2004-04-27 13:35:56 +0000
committerJonas Smedegaard <dr@jones.dk>2004-04-27 13:35:56 +0000
commitb984f1e670b11b656eea00f72ab5182f08507501 (patch)
treeb125ae067f90a06bbe15ebc97da420da84df509e /postfix
parentbc9de55c7fc6c92fa89d557473f6cf98f31f8ee9 (diff)
Fix capturing output of saslauthd -v (redirect stderr to stdout).
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/postfix.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 9cfd653..670f635 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -3,7 +3,7 @@
# /etc/local-COMMON/postfix/postfix.sh
# Copyright 2002-2004 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: postfix.sh,v 1.25 2004-04-27 12:59:07 jonas Exp $
+# $Id: postfix.sh,v 1.26 2004-04-27 13:35:56 jonas Exp $
#
# Auto-tweak plain installed postfix Debian package
#
@@ -26,7 +26,7 @@ if $postconf -d mail_version | grep -q '= 2'; then
fi
# FIXME: We really want to check for at least 2.1.1 but that's tricky...
sasl2=
-if saslauthd -v | grep -q '^saslauthd 2.1'; then
+if saslauthd -v 2>&1 | grep -q '^saslauthd 2.1'; then
sasl2=1
fi