Tor 0.2.1.x can start with 'log notice stdout' and 'runasdaemon 1'
both set. Earlier Tors cannot. This will be considered a feature of 0.2.1.x, not a bug in 0.2.0.x. svn:r15018
This commit is contained in:
parent
85a80ad73e
commit
d66bb67ae8
|
@ -3874,6 +3874,9 @@ options_init_logs(or_options_t *options, int validate_only)
|
|||
ok = 0; goto cleanup;
|
||||
}
|
||||
if (!strcasecmp(smartlist_get(elts,1), "stdout")) {
|
||||
/* Starting in 0.2.1.x, we will just decline to open the log file
|
||||
* to stdout, rather than failing the whole program. But I'm leaving
|
||||
* this intact for here so we can stabilize 0.2.0.x. -RD */
|
||||
if (daemon) {
|
||||
log_warn(LD_CONFIG, "Can't log to stdout with RunAsDaemon set.");
|
||||
ok = 0; goto cleanup;
|
||||
|
|
Loading…
Reference in New Issue