From: Wouter Wijngaards Date: Tue, 1 Dec 2015 09:26:02 +0000 (+0000) Subject: and also #724 for unbound.exe commandline. X-Git-Tag: release-1.5.7rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b085b4d31a4a4980e21b872b3025d6459cf7dee4;p=thirdparty%2Funbound.git and also #724 for unbound.exe commandline. git-svn-id: file:///svn/unbound/trunk@3559 be551aaa-1e26-0410-a405-d3ace91eadb9 --- 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.*/