Use real setters for the eventlog config.
This makes it possible to have a base config that the callers can modify instead of replacing the config wholesale.
This commit is contained in:
@@ -620,8 +620,8 @@ init_defaults(void)
|
||||
if (!init_envtables())
|
||||
goto oom;
|
||||
|
||||
/* Update eventlog config. */
|
||||
update_eventlog_config();
|
||||
/* Init eventlog config. */
|
||||
init_eventlog_config();
|
||||
|
||||
firsttime = 0;
|
||||
|
||||
@@ -758,9 +758,6 @@ update_defaults(struct sudoers_parse_tree *parse_tree,
|
||||
ret = false;
|
||||
}
|
||||
|
||||
/* Update eventlog config. */
|
||||
update_eventlog_config();
|
||||
|
||||
debug_return_bool(ret);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user