Allow saved password strings to have special characters. (#334)

pull/339/head
Armando Lüscher 8 years ago committed by neil
parent 049be10406
commit 9910ff5fa1

@ -1224,7 +1224,7 @@ _saveaccountconf() {
_sckey="$1"
_scvalue="$2"
if [ "$ACCOUNT_CONF_PATH" ] ; then
_setopt "$ACCOUNT_CONF_PATH" "$_sckey" "=" "\"$_scvalue\""
_setopt "$ACCOUNT_CONF_PATH" "$_sckey" "=" "'$_scvalue'"
else
_err "ACCOUNT_CONF_PATH is empty, can not save $_sckey=$_scvalue"
fi

Loading…
Cancel
Save