From: Dietmar Maurer Date: Thu, 30 Jul 2015 10:20:08 +0000 (+0200) Subject: use ./ prefix for all files inside tar archive X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=80460e94c5e4eda317054ff2a3df5fcc15e4304b;p=pve-container.git use ./ prefix for all files inside tar archive --- diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index 21fb3c1..fee2da9 100644 --- a/src/PVE/VZDump/LXC.pm +++ b/src/PVE/VZDump/LXC.pm @@ -254,7 +254,7 @@ sub archive { my $cmd = "("; $cmd .= "cd $snapdir;find . $findargs|sed 's/\\\\/\\\\\\\\/g'|"; - $cmd .= "tar cpf - $taropts etc/vzdump/lxc.conf --null -T -"; + $cmd .= "tar cpf - $taropts ./etc/vzdump/lxc.conf --null -T -"; my $bwl = $opts->{bwlimit}*1024; # bandwidth limit for cstream $cmd .= "|cstream -t $bwl" if $opts->{bwlimit}; $cmd .= "|$comp" if $comp;