mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
rename validate() to the more descriptive sudoers_lookup()
This commit is contained in:
2
sudo.c
2
sudo.c
@@ -263,7 +263,7 @@ main(argc, argv)
|
||||
add_env(!(sudo_mode & MODE_SHELL)); /* add in SUDO_* envariables */
|
||||
|
||||
/* Validate the user but don't search for pseudo-commands. */
|
||||
validated = validate((sudo_mode != MODE_VALIDATE && sudo_mode != MODE_LIST));
|
||||
validated = sudoers_lookup((sudo_mode != MODE_VALIDATE && sudo_mode != MODE_LIST));
|
||||
|
||||
switch (validated) {
|
||||
case VALIDATE_OK:
|
||||
|
Reference in New Issue
Block a user