Don't try to write to parent logging fd when closed

This commit is contained in:
Miroslav Lichvar 2013-11-28 17:39:50 +01:00
parent 0e8b27556d
commit 6cc9c4940c

View file

@ -222,6 +222,7 @@ LOG_CloseParentFd()
{
if (parent_fd > 0)
close(parent_fd);
parent_fd = 0;
}
/* ================================================== */