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

This commit is contained in:
Armando Lüscher 2016-10-25 14:49:22 +02:00 committed by neil
parent 049be10406
commit 9910ff5fa1
1 changed files with 1 additions and 1 deletions

View File

@ -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