mirror of
https://git.proxmox.com/git/pve-guest-common
synced 2025-08-02 06:54:37 +00:00
vzdump: command line: make sure mailto is comma-separated
In addition to relying on shellquote(), it's still nice to avoid printing out unnecessary whitespaces, especially newlines. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
9e542a4f90
commit
7a9b527f54
@ -394,6 +394,7 @@ sub command_line {
|
||||
$cmd .= " --$p " . PVE::Tools::shellquote($path);
|
||||
}
|
||||
} else {
|
||||
$v = join(",", PVE::Tools::split_list($v)) if $p eq 'mailto';
|
||||
$v = PVE::JSONSchema::print_property_string($v, 'prune-backups')
|
||||
if $p eq 'prune-backups';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user