diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-02-28 19:02:08 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-02-28 19:02:08 +0000 |
commit | f84889d6f84c1a15e914f40cbb8298b81742ccc3 (patch) | |
tree | bdbec10319802be913c4b77906e1d69690f078b4 /postfix | |
parent | 4709f98482b8a0e82d4f56dc502cb544e7c31076 (diff) |
Fix running shell commands collected in COMMANDS file.
Diffstat (limited to 'postfix')
-rwxr-xr-x | postfix/postfix.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index e288f32..61f0b67 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -3,7 +3,7 @@ # /etc/local-COMMON/postfix/postfix.sh # Copyright 2002-2007 Jonas Smedegaard <dr@jones.dk> # -# $Id: postfix.sh,v 1.65 2008-02-28 18:54:22 jonas Exp $ +# $Id: postfix.sh,v 1.66 2008-02-28 19:02:08 jonas Exp $ # # Auto-tweak plain installed postfix Debian package # @@ -281,7 +281,7 @@ fi case $do_update in y|Y) if [ -f "$tempdir/COMMANDS" ]; then - sh -c "$tempdir/COMMANDS" + cat "$tempdir/COMMANDS" | sh -r -s fi rm -f "$tempdir/COMMANDS" |