From 13c4590dd19351f55e8eb6830e44d64897b72c73 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 23 May 2006 07:04:55 +0000 Subject: [PATCH] ignore RunAsDaemon more thoroughly when we're running on windows. svn:r6471 --- src/or/config.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/or/config.c b/src/or/config.c index 830cfc6b97..77ebe0ad82 100644 --- a/src/or/config.c +++ b/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();