mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 06:06:02 -06:00
modif: use "Error:" in errExit message (#6716)
Use `Error: ` instead of just `Error `, for consistency with the other error messages. Related commits: *b963fe41a("Improve errExit error messages", 2023-06-16) / PR #5871 *a8abb7800("modif: Change errExit msg format to match assert", 2024-01-14) / PR #6158 Misc: This was noticed on #6705.
This commit is contained in:
parent
60a35c24b9
commit
eb0e774098
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@
|
|||
static inline void __attribute__((noreturn))
|
||||
_errExit(const char *fname, int lineno, const char *func, const char *msg) {
|
||||
char msgout[500];
|
||||
snprintf(msgout, 500, "Error %s:%d: %s: %s", fname, lineno, func, msg);
|
||||
snprintf(msgout, 500, "Error: %s:%d: %s: %s", fname, lineno, func, msg);
|
||||
perror(msgout);
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ after 100
|
|||
send -- "firejail --appimage appimage.sh\r"
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 2\n";exit}
|
||||
-re "Error .*mounting appimage"
|
||||
-re "Error: .*mounting appimage"
|
||||
}
|
||||
after 100
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue