Don't try to write to parent logging fd when closed
This commit is contained in:
parent
0e8b27556d
commit
6cc9c4940c
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ LOG_CloseParentFd()
|
||||||
{
|
{
|
||||||
if (parent_fd > 0)
|
if (parent_fd > 0)
|
||||||
close(parent_fd);
|
close(parent_fd);
|
||||||
|
parent_fd = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
Loading…
Reference in a new issue