]> git.proxmox.com Git - pve-storage.git/commitdiff
PVE::ReplicationTools::destroy_all_snapshots - never delete local disks
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 8 May 2017 06:47:28 +0000 (08:47 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 8 May 2017 06:47:28 +0000 (08:47 +0200)
PVE/ReplicationTools.pm

index 4aaf1c93c7cda2d4b39bc3000a6cb0da417a3d75..64e7273474433f8cf589d72c162059d59220fa21 100644 (file)
@@ -418,7 +418,7 @@ sub destroy_all_snapshots {
 
                PVE::Tools::run_command($cmd);
            } else {
-               PVE::Storage::vdisk_free($cfg, $volid);
+               die "internal error";
            }
        }
     }