From 0c1f193083166ccc56107028bb8b59d7aa767732 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 17 Jan 2019 09:41:12 +0100 Subject: [PATCH] shadow: fix return in initialize_pw_backend --- shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadow.c b/shadow.c index a1b664b..e385a1f 100644 --- a/shadow.c +++ b/shadow.c @@ -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); } }