2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Replace AUTH_INTR return with AUTH_FAILURE.

The two were treated identically by the caller.
This commit is contained in:
Todd C. Miller
2023-08-26 10:08:32 -06:00
parent b42cab112f
commit bae716642c
8 changed files with 14 additions and 21 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 = pass ? AUTH_FAILURE : AUTH_INTR;
ret = AUTH_FAILURE;
}
free(message);
message = NULL;