From: Todd C. Miller Date: Sat, 14 Apr 2018 12:13:44 +0000 (-0600) Subject: Fix cut & pasto that prevented "-d command" from working. X-Git-Tag: SUDO_1_8_23^2~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d85e244c6c0d169e30950db7a455b94c42447ec9;p=sudo Fix cut & pasto that prevented "-d command" from working. --- diff --git a/plugins/sudoers/cvtsudoers.c b/plugins/sudoers/cvtsudoers.c index 27dd59e48..1a6a07b10 100644 --- a/plugins/sudoers/cvtsudoers.c +++ b/plugins/sudoers/cvtsudoers.c @@ -1083,7 +1083,7 @@ filter_defaults(struct cvtsudoers_config *conf) alias_type = HOSTALIAS; break; case DEFAULTS_CMND: - if (!ISSET(conf->defaults, CVT_DEFAULTS_RUNAS)) + if (!ISSET(conf->defaults, CVT_DEFAULTS_CMND)) keep = false; alias_type = CMNDALIAS; break;