summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-02 13:30:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-02 13:42:15 +0200
commit5901cde8b9a5a02c3f8cebc70205cd4de3b4e0ca (patch)
treecb1da618413b424a40a27d7d7a8df3d4cc42addc /script
parentd047ab5817d114ca1830bbfbefc23ee4a216222d (diff)
downloadApp-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-xscript/borg-restore.pl2
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);
}