diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-10-19 01:14:22 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-10-19 01:14:22 +0000 |
commit | eb25c08c3b9fded7b54e248aa271f375d0241a53 (patch) | |
tree | 8c7146deb910144a5e7a20db75dce6fdda6cd8ee | |
parent | 6e33aca721a7386338a5c24f53d1a3ff217d50b6 (diff) |
Fix typo causing exceptions to be ignored.
-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" |