typo, should be cfg->pidfile
adi
adi at postpi.org
Thu Feb 4 15:10:33 UTC 2016
FYI, on latest trunk. I think it is just a typo :-)
--- unbound.c 2016-02-04 22:02:47.249598374 +0700
+++ unbound.c+ 2016-02-04 22:03:32.330756783 +0700
@@ -487,7 +487,7 @@
/* 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 */
Regards,
P.Y. Adi Prasaja
More information about the Unbound-users
mailing list