Skip to content
Permalink
Browse files

sigterm

  • Loading branch information...
BGR360 committed Apr 13, 2019
1 parent 126770e commit 29b764b42f95e5e2af38bcc9d61c5d914d14b053
Showing with 1 addition and 0 deletions.
  1. +1 −0 helpers.h
@@ -20,6 +20,7 @@ int close_on_kill(int sock) {
the_sock = sock;
int err = 0;
err = signal(SIGINT, intHandler) == SIG_ERR;
err |= signal(SIGTERM, intHandler) == SIG_ERR;
return err;
}

0 comments on commit 29b764b

Please sign in to comment.
You can’t perform that action at this time.