diff options
-rwxr-xr-x | amavis/mklists.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amavis/mklists.sh b/amavis/mklists.sh index a6bf1eb..f7db451 100755 --- a/amavis/mklists.sh +++ b/amavis/mklists.sh @@ -3,7 +3,7 @@ # /etc/local-COMMON/amavis/mklists.sh # Copyright 2007 Jonas Smedegaard <dr@jones.dk> # -# $Id: mklists.sh,v 1.2 2007-10-17 12:25:39 jonas Exp $ +# $Id: mklists.sh,v 1.3 2007-10-19 01:14:22 jonas Exp $ # # Resolve own mail domains and MX backup domains @@ -27,7 +27,7 @@ catfilefromownrealm() { thisrealm="$(cat /etc/local-ORG/realm || dnsdomainname | tr '[a-z]' '[A-Z]')" - if [ -r /etc/local/$"file"_exceptions ]; then + if [ -r /etc/local/"$file"_exceptions ]; then grep -vFf /etc/local/"$file"_exceptions "$realmsdir/$thisrealm/$file" else cat "$realmsdir/$thisrealm/$file" |