Signed-off-by: Stefan Hrdlicka <s.hrdli...@proxmox.com>
---
 PVE/QemuServer.pm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 85b005e..558e8a9 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2361,7 +2361,11 @@ sub destroy_vm {
     }
 
     eval {
-       PVE::QemuConfig->foreach_volume_full($conf->{pending}, $include_opts, 
$remove_owned_drive);
+       PVE::QemuConfig->foreach_volume_full(
+           $conf->{pending},
+           $include_opts,
+           $remove_owned_drive
+       );
     };
     die "Couldn't remove one or more disks: $@\n" if $@ && 
!$ignore_storage_errors;
 
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to