btrbk: allow quotes for all config values

Regression of:

   9d217857 btrbk: fix parsing of quoted "target" config line
pull/511/merge
Axel Burri 2022-12-04 00:50:15 +01:00
parent f107507876
commit 335e19e238
1 changed files with 2 additions and 0 deletions

2
btrbk
View File

@ -4258,6 +4258,8 @@ sub parse_config_line($$$;@)
}
else
{
$value =~ s/^"(.*)"$/$1/;
$value =~ s/^'(.*)'$/$1/;
return append_config_option($cur, $key, $value, $cur->{CONTEXT}, error_statement => $error_statement);
}