2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 08:45:28 +00:00

Go back to parsing Defaults entries in update_defaults instead of

as sudoers is read.  Otherwise, we cannot properly support early
defaults like sudoers_locale.
This commit is contained in:
Todd C. Miller
2016-11-09 16:00:12 -07:00
parent efe957544f
commit 79ca752802
12 changed files with 262 additions and 258 deletions

View File

@@ -1025,7 +1025,7 @@ export_sudoers(const char *sudoers_path, const char *export_path,
goto done;
}
}
init_parser(sudoers_path, quiet, true);
init_parser(sudoers_path, quiet);
if (sudoersparse() && !parse_error) {
if (!quiet)
sudo_warnx(U_("failed to parse %s file, unknown error"), sudoers_path);