[pve-devel] [PATCH 4/7] remove mountpoint dir from vzdump backup
    Wolfgang Link 
    w.link at proxmox.com
       
    Mon Aug 24 10:48:33 CEST 2015
    
    
  
---
 src/PVE/VZDump/LXC.pm | 1 +
 1 file changed, 1 insertion(+)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index cd43f98..359b5c0 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -307,6 +307,7 @@ sub cleanup {
 	# We use -d to automatically free used loop devices
 	sleep(1); 
 	$self->cmd_noerr("umount -d $di->{mountpoint}");
+	File::Path::remove_tree($di->{mountpoint});
     }
 
     if (my $volid = $task->{cleanup}->{snap_volid}) {
-- 
2.1.4
    
    
More information about the pve-devel
mailing list