summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-02 13:54:27 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-02 13:54:27 +0200
commitab037ebb9332f30d806b2c2ed2ffff55c1874709 (patch)
tree5f5e936b9d0e3c9bb1015a78da262bdb4879253a /script
parent1c654d9c6494dcd929efdc6f8203a32c7860dfc2 (diff)
downloadApp-BorgRestore-ab037ebb9332f30d806b2c2ed2ffff55c1874709.tar.gz
App-BorgRestore-ab037ebb9332f30d806b2c2ed2ffff55c1874709.tar.xz
Use Carp for path resolving error
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'script')
-rwxr-xr-xscript/borg-restore.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl
index b30549f..1fdc758 100755
--- a/script/borg-restore.pl
+++ b/script/borg-restore.pl
@@ -260,7 +260,6 @@ sub main {
}
my $abs_path = $app->resolve_relative_path($path);
- return 1 unless defined $abs_path;
$destination = dirname($abs_path) unless defined($destination);
my $backup_path = $app->map_path_to_backup_path($abs_path);