diff --git a/mach/proto/as/comm4.c b/mach/proto/as/comm4.c index 4abf13dbb..f2479f710 100644 --- a/mach/proto/as/comm4.c +++ b/mach/proto/as/comm4.c @@ -44,9 +44,6 @@ main(int argc, char **argv) { char *p; int i; - static char sigs[] = { - SIGHUP, SIGINT, SIGQUIT, SIGTERM, 0 - }; /* the next test should be performed by the * preprocessor, but it cannot, so it is performed by the compiler. @@ -58,9 +55,8 @@ main(int argc, char **argv) } progname = *argv++; argc--; - for (p = sigs; (i = *p++) != 0; ) - if (signal(i, SIG_IGN) != SIG_IGN) - signal(i, stop_on_signal); + if (signal(SIGINT, SIG_IGN) != SIG_IGN) + signal(SIGINT, stop_on_signal); for (i = 0; i < argc; i++) { p = argv[i]; if (*p++ != '-')