pgbackrest.git / summary / log / commit / refs
commit 74e858dbdb049a0597efa42a309b22f8a8feb2ba
Author: David Steele <david@pgbackrest.org>
Date: Thu Jul 16 09:19:11 2026 +0000
Fix duplicated word in the file mode error message.
The message read "expected mode for '0644' for 'src/file.c' but found '0755'", where the extra "for" made the expected mode read as a file name. Drop it so the message reads "expected mode '0644' for 'src/file.c' but found '0755'".
test/test.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test.pl b/test/test.pl
index 25cb34bc5..088e80932 100755
--- a/test/test.pl
+++ b/test/test.pl
@@ -575,7 +575,7 @@ eval
{
confess &log(
ERROR,
- "expected mode for '${strExpectedMode}' for '${strFile}' but found '" . $hManifest->{$strFile}{mode} . "'");
+ "expected mode '${strExpectedMode}' for '${strFile}' but found '" . $hManifest->{$strFile}{mode} . "'");
}
}
[parent: 6e709faf2ca1]