From c3ec5fc267969445eebf86560cf182c6774e1ca4 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 3 Sep 2018 10:13:27 +0930 Subject: [PATCH] lightningd: remove gratuitous SIG_IGN: daemon_setup() does it already. Signed-off-by: Rusty Russell --- lightningd/lightningd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lightningd/lightningd.c b/lightningd/lightningd.c index cbfaeaebf..4050161b7 100644 --- a/lightningd/lightningd.c +++ b/lightningd/lightningd.c @@ -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);