Small improvement in setupsignals

This commit is contained in:
Ashish Kumar Yadav 2021-03-06 03:32:38 +05:30
parent 5761a9018f
commit 9058770bb7

View file

@ -105,7 +105,7 @@ setupsignals()
sigaction(SIGRTMIN, &sa, NULL);
/* to handle update signals for individual blocks */
sa.sa_flags |= SA_NODEFER;
sa.sa_flags = SA_NODEFER | SA_RESTART | SA_SIGINFO;
sa.sa_mask = blocksigmask;
sa.sa_sigaction = sighandler;
for (Block *block = blocks; block->pathu; block++)