shadow: fix return in initialize_pw_backend
This commit is contained in:
parent
5303a5f300
commit
0c1f193083
2
shadow.c
2
shadow.c
@ -133,7 +133,7 @@ void initialize_pw_backend(void) {
|
|||||||
if (setuid(0) != -1) {
|
if (setuid(0) != -1) {
|
||||||
swaylock_log_errno(LOG_ERROR, "Unable to drop root (we shouldn't be "
|
swaylock_log_errno(LOG_ERROR, "Unable to drop root (we shouldn't be "
|
||||||
"able to restore it after setuid)");
|
"able to restore it after setuid)");
|
||||||
return false;
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user