mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
ignore RunAsDaemon more thoroughly when we're running on windows.
svn:r6471
This commit is contained in:
parent
a16bd23ad9
commit
13c4590dd1
@ -2905,7 +2905,12 @@ options_init_logs(or_options_t *options, int validate_only)
|
|||||||
config_line_t *opt;
|
config_line_t *opt;
|
||||||
int ok;
|
int ok;
|
||||||
smartlist_t *elts;
|
smartlist_t *elts;
|
||||||
int daemon = options->RunAsDaemon;
|
int daemon =
|
||||||
|
#ifdef MS_WINDOWS
|
||||||
|
0;
|
||||||
|
#else
|
||||||
|
options->RunAsDaemon;
|
||||||
|
#endif
|
||||||
|
|
||||||
ok = 1;
|
ok = 1;
|
||||||
elts = smartlist_create();
|
elts = smartlist_create();
|
||||||
|
Loading…
Reference in New Issue
Block a user