From: Todd C. Miller Date: Thu, 27 Jan 2011 15:03:59 +0000 (-0500) Subject: Fix indentation X-Git-Tag: SUDO_1_8_0~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39b9b97dbcff60f5a86409affed99faf77a8c399;p=sudo Fix indentation --- diff --git a/plugins/sudoers/check.c b/plugins/sudoers/check.c index b72b287c7..af2412f3f 100644 --- a/plugins/sudoers/check.c +++ b/plugins/sudoers/check.c @@ -117,14 +117,14 @@ check_user(int validated, int mode) if (ISSET(mode, MODE_IGNORE_TICKET)) { SET(validated, FLAG_CHECK_USER); } else { - /* - * Don't prompt for the root passwd or if the user is exempt. - * If the user is not changing uid/gid, no need for a password. - */ - if (user_uid == 0 || (user_uid == runas_pw->pw_uid && - (!runas_gr || user_in_group(sudo_user.pw, runas_gr->gr_name))) || - user_is_exempt()) - return TRUE; + /* + * Don't prompt for the root passwd or if the user is exempt. + * If the user is not changing uid/gid, no need for a password. + */ + if (user_uid == 0 || (user_uid == runas_pw->pw_uid && + (!runas_gr || user_in_group(sudo_user.pw, runas_gr->gr_name))) || + user_is_exempt()) + return TRUE; } if (build_timestamp(×tampdir, ×tampfile) == -1)