summaryrefslogtreecommitdiff
path: root/postfix/postfix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'postfix/postfix.sh')
-rwxr-xr-xpostfix/postfix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index f4925a1..9ae77df 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -164,7 +164,7 @@ getlinesfromfile() {
case "$subparam" in
*=)
oldparam=$(echo "$subparam" | awk -F= '{print $1}')
- replacements="$replacements;s/,*[^,]*$oldparam[^,]*,*/,/"
+ replacements="$replacements;s/,*[^,]*${oldparam}[^,]*,*/,/"
continue
;;
*=*=*)