diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-02 13:30:16 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-02 13:42:15 +0200 |
commit | 5901cde8b9a5a02c3f8cebc70205cd4de3b4e0ca (patch) | |
tree | cb1da618413b424a40a27d7d7a8df3d4cc42addc /script | |
parent | d047ab5817d114ca1830bbfbefc23ee4a216222d (diff) | |
download | App-BorgRestore-5901cde8b9a5a02c3f8cebc70205cd4de3b4e0ca.tar.gz App-BorgRestore-5901cde8b9a5a02c3f8cebc70205cd4de3b4e0ca.tar.xz |
Fix unhandleted formatting in invalid path error message
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'script')
-rwxr-xr-x | script/borg-restore.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl index 90bf446..40c0ca1 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -263,7 +263,7 @@ sub main { my $canon_path = File::Spec->canonpath($path); my $abs_path = abs_path($canon_path); if (!defined($abs_path)) { - $log->fatal("Failed to resolve path to absolute path: %s: %s", $canon_path, $!); + $log->fatalf("Failed to resolve path to absolute path: %s: %s", $canon_path, $!); $log->fatal("Make sure that all parts of the path, except the last one, exist."); exit(1); } |