diff --git a/src/switch.c b/src/switch.c index 5f0c9d82b3..3cdda87f09 100644 --- a/src/switch.c +++ b/src/switch.c @@ -1196,6 +1196,10 @@ int main(int argc, char *argv[]) } #endif + if (nc && nf) { + signal(SIGINT, handle_SIGILL); + } + switch_core_runtime_loop(nc); destroy_status = switch_core_destroy();