Throw away result of write(); it's not important
This commit is contained in:
parent
df618c9e91
commit
575f520461
@ -377,7 +377,9 @@ sigterm_handler (int signum)
|
||||
{
|
||||
if (sigterm_pipe_fds[1] >= 0)
|
||||
{
|
||||
write (sigterm_pipe_fds[1], "", 1);
|
||||
int dummy;
|
||||
|
||||
dummy = write (sigterm_pipe_fds[1], "", 1);
|
||||
close (sigterm_pipe_fds[1]);
|
||||
sigterm_pipe_fds[1] = -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user