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

Rename AUTH_FATAL -> AUTH_ERROR.

This commit is contained in:
Todd C. Miller
2023-08-26 10:45:29 -06:00
parent cf00568d88
commit c858acc481
13 changed files with 53 additions and 53 deletions

View File

@@ -280,17 +280,17 @@ sudo_aix_verify(const struct sudoers_context *ctx, struct passwd *pw,
/* password expired, user must change it */
if (!sudo_aix_change_password(ctx, pw->pw_name)) {
sudo_warnx(U_("unable to change password for %s"), pw->pw_name);
ret = AUTH_FATAL;
ret = AUTH_ERROR;
}
break;
case 2:
/* password expired, only admin can change it */
ret = AUTH_FATAL;
ret = AUTH_ERROR;
break;
default:
/* error (-1) */
sudo_warn("passwdexpired");
ret = AUTH_FATAL;
ret = AUTH_ERROR;
break;
}
}