Browse Source

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

svn:r6471
Roger Dingledine 19 years ago
parent
commit
13c4590dd1
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/or/config.c

+ 6 - 1
src/or/config.c

@@ -2905,7 +2905,12 @@ options_init_logs(or_options_t *options, int validate_only)
   config_line_t *opt;
   int ok;
   smartlist_t *elts;
-  int daemon = options->RunAsDaemon;
+  int daemon =
+#ifdef MS_WINDOWS
+               0;
+#else
+               options->RunAsDaemon;
+#endif
 
   ok = 1;
   elts = smartlist_create();