mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
Fix Some Log messages
This commit is contained in:
parent
02dfa15d30
commit
6833c898bf
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ static bool validate_ipc_target(const char *program) {
|
||||||
}
|
}
|
||||||
if (!S_ISREG(sb.st_mode)) {
|
if (!S_ISREG(sb.st_mode)) {
|
||||||
sway_log(L_ERROR,
|
sway_log(L_ERROR,
|
||||||
"IPC target '%s' MUST be/point at an existing regular file",
|
"IPC target '%s' MUST point at an existing file",
|
||||||
program);
|
program);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
@ -31,7 +31,7 @@ static bool validate_ipc_target(const char *program) {
|
||||||
sway_log(L_ERROR, "IPC target '%s' MUST be owned by root", program);
|
sway_log(L_ERROR, "IPC target '%s' MUST be owned by root", program);
|
||||||
return false;
|
return false;
|
||||||
#else
|
#else
|
||||||
sway_log(L_INFO, "IPC target '%s' MUST be owned by root (waived for debug build)", program);
|
sway_log(L_ERROR, "IPC target '%s' MUST be owned by root (waived for debug build)", program);
|
||||||
return true;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue