]> granicus.if.org Git - sudo/commitdiff
Fix cut & pasto that prevented "-d command" from working.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Sat, 14 Apr 2018 12:13:44 +0000 (06:13 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Sat, 14 Apr 2018 12:13:44 +0000 (06:13 -0600)
plugins/sudoers/cvtsudoers.c

index 27dd59e4887cdd15cebdeffd543e26c921e9dcb7..1a6a07b1029b40f6e3e0326682a91eef889414ac 100644 (file)
@@ -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;