From b085b4d31a4a4980e21b872b3025d6459cf7dee4 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 1 Dec 2015 09:26:02 +0000 Subject: [PATCH] and also #724 for unbound.exe commandline. git-svn-id: file:///svn/unbound/trunk@3559 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/unbound.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/unbound.c b/daemon/unbound.c index e60dcb484..0ceee538c 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -452,6 +452,9 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, /* endpwent below, in case we need pwd for setusercontext */ } #endif +#ifdef UB_ON_WINDOWS + w_config_adjust_directory(cfg); +#endif /* init syslog (as root) if needed, before daemonize, otherwise * a fork error could not be printed since daemonize closed stderr.*/