]> git.proxmox.com Git - pve-manager-legacy.git/blobdiff - PVE/VZDump/OpenVZ.pm
vzdump: remove temporary directories
[pve-manager-legacy.git] / PVE / VZDump / OpenVZ.pm
index 5b6c0bacae4f006b0021bb2d35cafb8f6e777671..779c3a1da6fb741ac9e189f1a5553ab696435ca9 100644 (file)
@@ -303,8 +303,8 @@ sub cleanup {
 
     if ($task->{cleanup}->{etc_vzdump}) {
        my $dir = "$task->{snapdir}/etc/vzdump";
-       #eval { rmtree $dir if -d $dir; };
-       #$self->logerr ($@) if $@;
+       eval { rmtree $dir if -d $dir; };
+       $self->logerr ($@) if $@;
     }
 
 }