From f4049b54c47b38273428a445fef5cebacf786b38 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 9 Oct 2007 07:11:14 +0000 Subject: [PATCH] logfile first open bad permissions. git-svn-id: file:///svn/unbound/trunk@666 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/unbound.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/unbound.c b/daemon/unbound.c index cde19e5fa..6dba9aa51 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -128,9 +128,10 @@ apply_dir(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose, log_err("cwd: malloc failed"); } } + /*** TODO this has bad permissions on the logfile if(!debug_mode) { log_init(cfg->logfile, cfg->use_syslog); - } + } */ if(!daemon->env->msg_cache || cfg->msg_cache_size != slabhash_get_size(daemon->env->msg_cache) || cfg->msg_cache_slabs != daemon->env->msg_cache->size) { -- 2.47.2