2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-02 23:35:36 +00:00

Restore AUTH_INTR support, it is still needed.

We still need AUTH_INTR to know when to break out of the password
prompt loop.
This commit is contained in:
Todd C. Miller
2023-08-29 10:02:09 -06:00
parent 3c05e748a4
commit 8cd0d74fbb
8 changed files with 20 additions and 13 deletions

View File

@@ -257,7 +257,7 @@ sudo_aix_verify(const struct sudoers_context *ctx, struct passwd *pw,
if (sudo_aix_valid_message(message))
sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY,
"%s", message);
ret = AUTH_FAILURE;
ret = pass ? AUTH_FAILURE : AUTH_INTR;
}
free(message);
message = NULL;