check for non-null-ness of fname in second if too (to test: set chroot and no log file)
check for non-null-ness of fname in second if too (to test: set chroot and no log file)


git-svn-id: b7def5e201329fdc6881ed493a1f7b725c4b51fb@2852 a26ef69c-88ff-0310-839f-98b793d9c207

NLnetLabs/NSD,NLnetLabs/NSD,NLnetLabs/NSD,NLnetLabs/NSD