Such an error shouldn't abort the whole operation. Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> --- PVE/QemuServer.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index be0694f9..9a16b617 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6460,7 +6460,8 @@ my $restore_deactivate_volumes = sub { push @$vollist, $volid if $volid; } - PVE::Storage::deactivate_volumes($storecfg, $vollist); + eval { PVE::Storage::deactivate_volumes($storecfg, $vollist); }; + print STDERR $@ if $@; }; my $restore_destroy_volumes = sub { -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel