diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index 2ec82c42..59d0b5fa 100644 --- a/PVE/VZDump.pm +++ b/PVE/VZDump.pm @@ -350,6 +350,10 @@ sub read_vzdump_defaults { if (my $excludes = $res->{'exclude-path'}) { $res->{'exclude-path'} = PVE::Tools::split_args($excludes); } + if (defined($res->{mailto})) { + my @mailto = PVE::Tools::split_list($res->{mailto}); + $res->{mailto} = [ @mailto ]; + } foreach my $key (keys %$defaults) { $res->{$key} = $defaults->{$key} if !defined($res->{$key});