From 396cae8e1be29ec79a636330311c50df6c3f7718 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 5 Aug 2008 17:18:31 -0400 Subject: [PATCH] Don't die from SIGPIPE on daemon disconnect --- src/client/plymouth.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/plymouth.c b/src/client/plymouth.c index 37606d98..746bec94 100644 --- a/src/client/plymouth.c +++ b/src/client/plymouth.c @@ -22,6 +22,7 @@ #include "config.h" #include +#include #include #include @@ -180,6 +181,8 @@ main (int argc, exit_code = 0; + signal (SIGPIPE, SIG_IGN); + state.loop = ply_event_loop_new (); state.client = ply_boot_client_new (); state.command_parser = ply_command_parser_new ("plymouth", "Boot splash control client"); -- 2.47.3