Add SIGHUP handler so that zmc reloads instead of dies

This commit is contained in:
Isaac Connor 2018-04-25 09:38:18 -04:00
parent 9fd2c12765
commit 61fe2a734b
1 changed files with 1 additions and 0 deletions

View File

@ -228,6 +228,7 @@ int main(int argc, char *argv[]) {
sigset_t block_set; sigset_t block_set;
sigemptyset(&block_set); sigemptyset(&block_set);
sigaddset(&block_set, SIGHUP);
sigaddset(&block_set, SIGUSR1); sigaddset(&block_set, SIGUSR1);
sigaddset(&block_set, SIGUSR2); sigaddset(&block_set, SIGUSR2);