Use log_warning() not log_fatal() for the "Invalid authentication

methods compiled into sudo" message.  We return -1 on error anyway.
This commit is contained in:
Todd C. Miller
2014-04-07 08:59:48 -06:00
parent 2a290f812e
commit d702ee9813

View File

@@ -117,7 +117,7 @@ sudo_auth_init(struct passwd *pw)
standalone = IS_STANDALONE(&auth_switch[0]);
if (standalone && auth_switch[1].name != NULL) {
audit_failure(NewArgv, N_("invalid authentication methods"));
log_fatal(0, N_("Invalid authentication methods compiled into sudo! "
log_warning(0, N_("Invalid authentication methods compiled into sudo! "
"You may not mix standalone and non-standalone authentication."));
debug_return_int(-1);
}