From: Todd C. Miller Date: Tue, 13 Jan 1998 15:32:41 +0000 (+0000) Subject: typo X-Git-Tag: SUDO_1_5_6~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6523933184caa66f4216177d439af5f530e53171;p=sudo typo --- diff --git a/parse.c b/parse.c index 1c3ce614a..a3373c4ab 100644 --- a/parse.c +++ b/parse.c @@ -218,7 +218,7 @@ int command_matches(cmnd, user_args, path, sudoers_args) static char *c; /* don't bother with pseudo commands like "validate" */ - if (strchr(cmnd, '/') != NULL) + if (strchr(cmnd, '/') == NULL) return(FALSE); /* only need to stat cmnd once since it never changes */