- Fix patch typo in prevuous commit for 734 from Adi Prasaja.

git-svn-id: file:///svn/unbound/trunk@3614 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2016-02-08 08:17:00 +00:00
parent 733d9f2e3c
commit 7d070c9305
2 changed files with 4 additions and 1 deletions

View file

@ -487,7 +487,7 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode,
/* true if pidfile is inside chrootdir, or nochroot */
pidinchroot = !(cfg->chrootdir && cfg->chrootdir[0]) ||
(cfg->chrootdir && cfg->chrootdir[0] &&
strncmp(daemon->pidfile, cfg->chrootdir,
strncmp(cfg->pidfile, cfg->chrootdir,
strlen(cfg->chrootdir))==0);
/* check old pid file before forking */

View file

@ -1,3 +1,6 @@
8 February 2016: Wouter
- Fix patch typo in prevuous commit for 734 from Adi Prasaja.
29 January 2016: Wouter
- Neater cmdline_verbose increment patch from Edgar Pettijohn.