Do not call set_fqdn() until sudoers parses (where is gets run as a callback).

This commit is contained in:
Todd C. Miller
2010-06-18 17:25:59 -04:00
parent 677a0be850
commit d79b0ece15
2 changed files with 4 additions and 5 deletions

View File

@@ -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();
}
}
/*