diff options
author | Jonas Smedegaard <dr@jones.dk> | 2012-09-09 17:58:58 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2012-09-09 17:58:58 +0200 |
commit | 5e75b2922b78e4884d519cdd18fbba62e83eda1e (patch) | |
tree | dd8e9444406194de9e9a1ab51842df72a3405e9e /postfix | |
parent | 1511c73924e502cdfb5ed3d1460784b04f7e4998 (diff) |
Fix typo.
Diffstat (limited to 'postfix')
-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 9c90b8d..04ee0d6 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -179,7 +179,7 @@ getperlvarfromfile() { export var="$1" export default="$2" file="$3" - context="${3:-postfix}" + context="${4:-postfix}" catfirstfile "$file" "$context" \ | perl -nE'/^\$$ENV{"var"}\h*=\h*(\d+)/ and $s=$1; END {print ($s) ? $s : $ENV{'default'}}' } |