lightningd: remove gratuitous SIG_IGN: daemon_setup() does it already.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-09-03 10:13:27 +09:30
parent c33c971478
commit c3ec5fc267

View File

@@ -330,9 +330,6 @@ int main(int argc, char *argv[])
/* Handle options and config; move to .lightningd */
handle_opts(ld, argc, argv);
/* Ignore SIGPIPE: we look at our write return values*/
signal(SIGPIPE, SIG_IGN);
/* Make sure we can reach other daemons, and versions match. */
test_subdaemons(ld);