]> git.proxmox.com Git - pve-container.git/commitdiff
use ./ prefix for all files inside tar archive
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 30 Jul 2015 10:20:08 +0000 (12:20 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 30 Jul 2015 10:20:08 +0000 (12:20 +0200)
src/PVE/VZDump/LXC.pm

index 21fb3c11f80d5c7e67a01b89140762f99d6accc3..fee2da9391ddf7473cc4c267f61cedbd2a31c9ca 100644 (file)
@@ -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;