[pve-devel] [PATCH pve-container 1/2] add firewall config to vzdump

Dietmar Maurer dietmar at proxmox.com
Fri Nov 20 10:31:11 CET 2015


I am not a  big fan of File::Copy::copy. Can we simply use
PVE::Tools file_get_contents and file_set_contents? 

> diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
> index 72ad9c0..99a08b2 100644
> --- a/src/PVE/VZDump/LXC.pm
> +++ b/src/PVE/VZDump/LXC.pm
> @@ -4,6 +4,7 @@ use strict;
>  use warnings;
>  use File::Path;
>  use File::Basename;
> +use File::Copy;



More information about the pve-devel mailing list