mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
0f97b8cf36
Our handling of SIGPIPE was incoherent and inconsistent, and we had much cut & paste between the daemons. They should *ALL* ignore SIGPIPE, and much of the rest of the boilerplate can be shared, so should be. Reported-by: @ZmnSCPxj Fixes: #528 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8 lines
184 B
C
8 lines
184 B
C
#ifndef LIGHTNING_COMMON_SUBDAEMON_H
|
|
#define LIGHTNING_COMMON_SUBDAEMON_H
|
|
#include "config.h"
|
|
|
|
void subdaemon_setup(int argc, char *argv[]);
|
|
|
|
#endif /* LIGHTNING_COMMON_SUBDAEMON_H */
|