From 779cdda1f23ec5da9336b7164d1c516e2e413813 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 2 Sep 2007 10:05:57 +0000 Subject: [PATCH] Catch SIGIOT --- mbtask/mbtask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbtask/mbtask.c b/mbtask/mbtask.c index 5320e9be..2b742fad 100644 --- a/mbtask/mbtask.c +++ b/mbtask/mbtask.c @@ -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)) + 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);