mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue