commit - 7b6ef3bc8eef8a084bc77155e4cd64a35198aad9
commit + 88c3d4896af6c09de5d360d93ad8b02793aeb234
blob - 60d15a1f8a7be1afe807d192f52223e4dffac50a
blob + f28ff05bcfb778065dc99a50e7459472eee8a68f
--- src/ngircd/ngircd.c
+++ src/ngircd/ngircd.c
}
if (chroot(Conf_Chroot) != 0) {
- if (errno != EPERM) {
- Log(LOG_ERR,
- "Can't change root directory to \"%s\": %s",
- Conf_Chroot, strerror(errno));
- goto out;
- }
+ Log(LOG_ERR,
+ "Can't change root directory to \"%s\": %s",
+ Conf_Chroot, strerror(errno));
+ goto out;
} else {
chrooted = true;
Log(LOG_INFO,