Skip to content

Commit c3ec5fc

Browse files
committed
lightningd: remove gratuitous SIG_IGN: daemon_setup() does it already.
Signed-off-by: Rusty Russell <[email protected]>
1 parent c33c971 commit c3ec5fc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lightningd/lightningd.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,6 @@ int main(int argc, char *argv[])
330330
/* Handle options and config; move to .lightningd */
331331
handle_opts(ld, argc, argv);
332332

333-
/* Ignore SIGPIPE: we look at our write return values*/
334-
signal(SIGPIPE, SIG_IGN);
335-
336333
/* Make sure we can reach other daemons, and versions match. */
337334
test_subdaemons(ld);
338335

0 commit comments

Comments
 (0)