diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-02 13:42:11 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-02 13:42:15 +0200 |
commit | 1c654d9c6494dcd929efdc6f8203a32c7860dfc2 (patch) | |
tree | 77d903e9aed7b851919a2c91bb8dee4320b0e432 /lib | |
parent | 1af7a6a76a0cbfda953828b9bd5c0834553e6b24 (diff) | |
download | App-BorgRestore-1c654d9c6494dcd929efdc6f8203a32c7860dfc2.tar.gz App-BorgRestore-1c654d9c6494dcd929efdc6f8203a32c7860dfc2.tar.xz |
Add TODO
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/App/BorgRestore.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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(.*)); |