mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
allow people to start their tor with runasdaemon set but
with no logs set at all. svn:r6604
This commit is contained in:
parent
686ba0e193
commit
cbc4cd93ac
@ -2078,7 +2078,7 @@ options_validate(or_options_t *old_options, or_options_t *options,
|
||||
REJECT("Failed to normalize old Log options. See logs for details.");
|
||||
|
||||
/* Special case on first boot if no Log options are given. */
|
||||
if (!options->Logs && !from_setconf)
|
||||
if (!options->Logs && !options->RunAsDaemon && !from_setconf)
|
||||
config_line_append(&options->Logs, "Log", "notice stdout");
|
||||
|
||||
if (options_init_logs(options, 1)<0) /* Validate the log(s) */
|
||||
|
Loading…
Reference in New Issue
Block a user