From 5901cde8b9a5a02c3f8cebc70205cd4de3b4e0ca Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 13:30:16 +0200 Subject: Fix unhandleted formatting in invalid path error message Signed-off-by: Florian Pritz --- script/borg-restore.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') 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); } -- cgit v1.2.3-24-g4f1b