| 50 | } |
| 51 | |
| 52 | void status_setup_sync(int fd) |
| 53 | { |
| 54 | assert(status_fd == -1); |
| 55 | assert(!status_conn); |
| 56 | status_fd = fd; |
| 57 | setup_logging_sighandler(); |
| 58 | |
| 59 | /* Send version now. */ |
| 60 | status_send(take(towire_status_version(NULL, version()))); |
| 61 | } |
| 62 | |
| 63 | static void destroy_daemon_conn(struct daemon_conn *dc UNUSED) |
| 64 | { |
no test coverage detected