mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 04:18:01 +02:00
Don't die from SIGPIPE on daemon disconnect
This commit is contained in:
parent
89a852cefb
commit
396cae8e1b
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue