]> granicus.if.org Git - sudo/commitdiff
Change a log_fatal() into log_error() when no auth methods are
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 22 Aug 2012 16:51:46 +0000 (12:51 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 22 Aug 2012 16:51:46 +0000 (12:51 -0400)
configured.  The caller already checks the return value.

plugins/sudoers/auth/sudo_auth.c

index 56ba2689387382002970aecd37647c4d4c82c670..6362ae4598fbea8f2290610d3d6aaeaf65546d45 100644 (file)
@@ -202,7 +202,7 @@ verify_user(struct passwd *pw, char *prompt, int validated)
     /* XXX - check FLAG_DISABLED too */
     if (auth_switch[0].name == NULL) {
        audit_failure(NewArgv, "no authentication methods");
-       log_fatal(0,
+       log_error(0,
            _("There are no authentication methods compiled into sudo!  "
            "If you want to turn off authentication, use the "
            "--disable-authentication configure option."));