Skip to content

Commit

Permalink
Fix Some Log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
JerziKaminsky committed Apr 21, 2017
1 parent 02dfa15 commit 6833c89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sway/security.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static bool validate_ipc_target(const char *program) {
}
if (!S_ISREG(sb.st_mode)) {
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);
return false;
}
Expand All @@ -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);
return false;
#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;
#endif
}
Expand Down

0 comments on commit 6833c89

Please sign in to comment.