shadow: fix return in initialize_pw_backend

This commit is contained in:
emersion 2019-01-17 09:41:12 +01:00
parent 5303a5f300
commit 0c1f193083
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -133,7 +133,7 @@ void initialize_pw_backend(void) {
if (setuid(0) != -1) {
swaylock_log_errno(LOG_ERROR, "Unable to drop root (we shouldn't be "
"able to restore it after setuid)");
return false;
exit(EXIT_FAILURE);
}
}