summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 69247523..e5183966 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -324,8 +324,10 @@ sigterm_handler (int signum)
{
if (sigterm_pipe_fds[1] >= 0)
{
- if ( write (sigterm_pipe_fds[1], "", 1) == -1 )
- g_printerr ("metacity: write to sigterm_pipe failed.\n");
+ if (write (sigterm_pipe_fds[1], "", 1) == -1)
+ {
+ }
+
close (sigterm_pipe_fds[1]);
sigterm_pipe_fds[1] = -1;
}