mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
this is why you're not supposed to cut-and-paste code
svn:r6037
This commit is contained in:
parent
4f5e607389
commit
a9fcf4ced2
@ -2947,7 +2947,7 @@ options_init_logs(or_options_t *options, int validate_only)
|
||||
}
|
||||
} else if (!strcasecmp(smartlist_get(elts,1), "stderr")) {
|
||||
if (daemon) {
|
||||
log_warn(LD_CONFIG, "Can't log to stdout with RunAsDaemon set.");
|
||||
log_warn(LD_CONFIG, "Can't log to stderr with RunAsDaemon set.");
|
||||
ok = 0; goto cleanup;
|
||||
}
|
||||
if (!validate_only) {
|
||||
|
Loading…
Reference in New Issue
Block a user