Do not call set_fqdn() until sudoers parses (where is gets run as a callback).
This commit is contained in:
@@ -764,11 +764,6 @@ init_vars(char * const envp[])
|
||||
#endif
|
||||
|
||||
/* It is now safe to use log_error() and set_perms() */
|
||||
|
||||
if (def_fqdn) {
|
||||
/* may call log_error() */
|
||||
set_fqdn();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user