| 775 | } |
| 776 | |
| 777 | static void on_sigterm(int _ UNUSED) |
| 778 | { |
| 779 | static const char *msg = "lightningd: SIGTERM caught, exiting.\n"; |
| 780 | write_all(STDERR_FILENO, msg, strlen(msg)); |
| 781 | _exit(1); |
| 782 | } |
| 783 | |
| 784 | /* Globals are terrible, but we all do it. */ |
| 785 | static int sigchld_wfd; |
nothing calls this directly
no test coverage detected