Allow saved password strings to have special characters.

This commit is contained in:
Armando Lüscher 2016-10-23 06:07:34 +02:00
parent ecf0a710e1
commit a43c254b49
No known key found for this signature in database
GPG Key ID: 3D71085D14920359

View File

@ -1180,7 +1180,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