2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Rename "log_server" in sudoers to "log_servers" to match I/O plugin.

This commit is contained in:
Todd C. Miller
2019-11-18 09:39:03 -07:00
parent 810669c4f0
commit f913249dd0
6 changed files with 16 additions and 16 deletions

View File

@@ -725,8 +725,8 @@ sudoers_policy_exec_setup(char *argv[], char *envp[], mode_t cmnd_umask,
if ((command_info[info_len++] = sudo_new_key_val("iolog_group", def_iolog_group)) == NULL)
goto oom;
}
if (!SLIST_EMPTY(&def_log_server)) {
char *log_servers = serialize_list("log_servers", &def_log_server);
if (!SLIST_EMPTY(&def_log_servers)) {
char *log_servers = serialize_list("log_servers", &def_log_servers);
if (log_servers == NULL)
goto oom;
command_info[info_len++] = log_servers;