From 80460e94c5e4eda317054ff2a3df5fcc15e4304b Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 30 Jul 2015 12:20:08 +0200 Subject: [PATCH] use ./ prefix for all files inside tar archive --- src/PVE/VZDump/LXC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5