summaryrefslogtreecommitdiffstats
path: root/lib/App
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-03-03 23:16:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-03-03 23:16:24 +0100
commite400b5e8672c1eea428e14ca82c0ce0ed223db8d (patch)
treeace057d442e3443cb585fa78bb491ba10aa9af83 /lib/App
parent9f2d12b96a0cb093fe3d85b60a7c6151d957bc0c (diff)
downloadApp-BorgRestore-e400b5e8672c1eea428e14ca82c0ce0ed223db8d.tar.gz
App-BorgRestore-e400b5e8672c1eea428e14ca82c0ce0ed223db8d.tar.xz
Fix broken recursion in save_node
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App')
-rw-r--r--lib/App/BorgRestore.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm
index 904c6b8..1fb5124 100644
--- a/lib/App/BorgRestore.pm
+++ b/lib/App/BorgRestore.pm
@@ -391,7 +391,7 @@ sub save_node {
my $time = $$node[0]->{$child}[1];
$db->add_path($archive_id, $path, $time);
- save_node($db, $archive_id, $path, $$node[0]->{$child});
+ $self->save_node($db, $archive_id, $path, $$node[0]->{$child});
}
}