CHROOT_DIR
if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit;
if (chroot(CHROOT_DIR) == -1)
lerr(1, "chroot %s", CHROOT_DIR);
lerr(1, "chdir %s", CHROOT_DIR);
if (chroot(CHROOT_DIR) == -1)
lerr(1, "chroot to %s", CHROOT_DIR);
lerr(1, "chdir to %s", CHROOT_DIR);
if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit;