From 67fc6f4709ccb8e66acc82134c3540729007b8db Mon Sep 17 00:00:00 2001 From: MusiKid Date: Fri, 21 Jan 2022 11:32:57 +0100 Subject: [PATCH] fix: fix condition for howdy_error --- src/pam/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pam/main.cc b/src/pam/main.cc index 0f27835..0008eac 100644 --- a/src/pam/main.cc +++ b/src/pam/main.cc @@ -52,7 +52,7 @@ using namespace boost::locale; */ int howdy_error(int status, function conv_function) { // If the process has exited - if (!WIFEXITED(status)) { + if (WIFEXITED(status)) { // Get the status code returned status = WEXITSTATUS(status);