Catch SIGIOT

This commit is contained in:
Michiel Broek 2007-09-02 10:06:30 +00:00
parent 779cdda1f2
commit 038a0f8056

View File

@ -1553,7 +1553,7 @@ int main(int argc, char **argv)
* but that's live. This daemon should only be stopped by SIGTERM.
*/
for (i = 0; i < NSIG; i++) {
if ((i == SIGHUP) || (i == SIGPIPE) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV)) || (i == SIGIOT)
if ((i == SIGHUP) || (i == SIGPIPE) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGIOT))
signal(i, (void (*))die);
else if ((i == SIGINT) || (i == SIGTERM))
signal(i, (void (*))start_shutdown);