From: Wouter Wijngaards Date: Tue, 26 Jan 2016 08:27:40 +0000 (+0000) Subject: Fixup ;. X-Git-Tag: release-1.5.8~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3b87e1f4fe99abc411cb59fc757acd5cb8891d2;p=thirdparty%2Funbound.git Fixup ;. git-svn-id: file:///svn/unbound/trunk@3605 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/unbound.c b/daemon/unbound.c index 4966acc33..60dd7ba64 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -485,7 +485,7 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, const int pidinchroot = !(cfg->chrootdir && cfg->chrootdir[0]) || (cfg->chrootdir && cfg->chrootdir[0] && strncmp(daemon->pidfile, cfg->chrootdir, - strlen(cfg->chrootdir))==0) + strlen(cfg->chrootdir))==0); /* check old pid file before forking */ if(cfg->pidfile && cfg->pidfile[0]) {