From 1c654d9c6494dcd929efdc6f8203a32c7860dfc2 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 13:42:11 +0200 Subject: Add TODO Signed-off-by: Florian Pritz --- lib/App/BorgRestore.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/App') diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm index d5bb56b..4891ec9 100644 --- a/lib/App/BorgRestore.pm +++ b/lib/App/BorgRestore.pm @@ -250,6 +250,7 @@ sub restore { $log->debugf("Changing CWD to %s", $destination); mkdir($destination) unless -d $destination; chdir($destination) or die "Failed to chdir: $!"; + # TODO chdir back to original after restore my $final_destination = abs_path($basename); $final_destination = App::BorgRestore::Helper::untaint($final_destination, qr(.*)); -- cgit v1.2.3-24-g4f1b