]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
and also #724 for unbound.exe commandline.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Dec 2015 09:26:02 +0000 (09:26 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Dec 2015 09:26:02 +0000 (09:26 +0000)
git-svn-id: file:///svn/unbound/trunk@3559 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c

index e60dcb484001b998ebcf728553070f3c20656bd6..0ceee538c756c55b9dfb7b4c209cb2a71c5898d7 100644 (file)
@@ -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.*/