Throw away result of write(); it's not important

This commit is contained in:
Thomas Thurman 2010-01-05 15:44:01 -05:00
parent df618c9e91
commit 575f520461

View File

@ -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;
}