summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}