Switch to signalfd for SIGHUP

This commit is contained in:
Ian Gulliver
2016-03-08 23:04:20 -08:00
parent c0c25bd36a
commit b455826db2
3 changed files with 21 additions and 20 deletions

View File

@@ -58,7 +58,7 @@ int main(int argc, char *argv[]) {
wakeup_init();
peer_init();
log_init2();
log_init_peer();
receive_init();
send_init();
@@ -96,6 +96,8 @@ int main(int argc, char *argv[]) {
rand_cleanup();
wakeup_cleanup();
log_cleanup_peer();
peer_cleanup();
log_cleanup();