diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-10-22 20:42:31 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-10-22 20:42:31 +0200 |
commit | 92f62e64685ffbc08ea660e51bf3428c110b647c (patch) | |
tree | 69b5da199c60e1823effbce3d4dd85634a21d79f | |
parent | b5de1c221c1300290d6c3fbbf70e2b8db8e55b6c (diff) |
fix strip trailing space in _postconf wrapper
-rwxr-xr-x | postfix/postfix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 061a547..135775a 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -196,7 +196,7 @@ fi confdir=/etc/postfix _postconf() { - postconf -c "$tempdir" "$1" "$(echo "$2" | tr '\n' ' ')" + postconf -c "$tempdir" "$1" "$(echo "$2" | tr '\n' ' ' | sed -e 's/ $//')" } postmapfiles= |