Merge PR #487 from upstream

This commit is contained in:
Jeroen 2023-05-28 15:33:04 +02:00
parent 19bdf2c108
commit b68f442323
Signed by: jeroen
GPG Key ID: 7C7028F783798BAB

View File

@ -60,7 +60,10 @@ config::get(){
for _c_line in ${VM_CONFIG}; do
if [ "${_c_key}" = "${_c_line%%=*}" ]; then
setvar "${_c_var}" "${_c_line#*=}"
_c_line="${_c_line#*=}"
_c_line="${_c_line#\'}"
_c_line="${_c_line%\'}"
setvar "${_c_var}" "${_c_line}"
return 0
fi
done