mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 23:03:00 +00:00
Throw away result of write(); it's not important
This commit is contained in:
parent
b1c465eab0
commit
a321f4c842
@ -453,7 +453,9 @@ sigterm_handler (int signum)
|
|||||||
{
|
{
|
||||||
if (sigterm_pipe_fds[1] >= 0)
|
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]);
|
close (sigterm_pipe_fds[1]);
|
||||||
sigterm_pipe_fds[1] = -1;
|
sigterm_pipe_fds[1] = -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user