]> arthur.barton.de Git - ngircd-alex.git/commit
Don't ignore "permission denied" errors when enabling chroot
authorAlexander Barton <alex@barton.de>
Wed, 28 Mar 2012 09:30:48 +0000 (11:30 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 28 Mar 2012 09:30:48 +0000 (11:30 +0200)
commit88c3d4896af6c09de5d360d93ad8b02793aeb234
tree25c24a23aeb98eac3e66d1c0ea10249851c9b44e
parent7b6ef3bc8eef8a084bc77155e4cd64a35198aad9
Don't ignore "permission denied" errors when enabling chroot

Up to now, ngIRCd silently ignored permission denied errors when trying
to enable a chroot setup: only the "not running chrooted" message became
logged later on.

This patch lets ngIRCd exit with a fatal error when the chroot can't
be enabled on startup -- this is the much safer bevahiour!
src/ngircd/ngircd.c