diff --git a/ptgdp b/ptgdp index 39e6db6..509588e 100755 --- a/ptgdp +++ b/ptgdp @@ -354,10 +354,10 @@ main() { while read line; do # If the line has an equals sign and isn't a comment if [ "$line" != "${line#*=}" ] && validateline "$line"; then - local varname="${line%=*}" + local key="${line%=*}" local value="${line#*=}" - _config[$varname]="$value" - log "Setting $varname to $value" 2 + _config[$key]="$value" + log "Setting $key to $value" 2 fi done < "$_optconfigfile" else