for easier readability.
Signed-off-by: Fabian Ebner <[email protected]>
---
src/PVE/VZDump/LXC.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 05d8495..c02c6e1 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -369,6 +369,7 @@ sub archive {
my $tmpdir = $task->{tmpdir};
my $userns_cmd = $task->{userns_cmd};
+ my $findexcl = $self->{vzdump}->{findexcl};
if ($self->{vzdump}->{opts}->{pbs}) {
@@ -427,7 +428,7 @@ sub archive {
push @$tar, "--directory=$snapdir";
push @$tar, '--no-anchored', '--exclude=lost+found' if $userns_cmd;
push @$tar, '--anchored';
- push @$tar, map { "--exclude=.$_" } @{$self->{vzdump}->{findexcl}};
+ push @$tar, map { "--exclude=.$_" } @{$findexcl};
push @$tar, @sources;
--
2.20.1
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel