ignore RunAsDaemon more thoroughly when we're running on windows.

svn:r6471
This commit is contained in:
Roger Dingledine 2006-05-23 07:04:55 +00:00
parent a16bd23ad9
commit 13c4590dd1

View File

@ -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();