2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

add FLAG_NO_CHECK

This commit is contained in:
Todd C. Miller
1999-08-26 09:06:41 +00:00
parent ca1b945b36
commit a2b3e36e73
3 changed files with 6 additions and 1 deletions

View File

@@ -147,7 +147,8 @@ sudoers_lookup(check_cmnd)
error |= FLAG_NO_HOST;
if (!top)
error |= FLAG_NO_USER;
}
} else
error |= FLAG_NO_CHECK;
/*
* Only check the actual command if the check_cmnd flag is set.