mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
FS-7645: Allow Ctrl+C (SIGINT) when running in foreground without console (-nf -nc)
This commit is contained in:
parent
8e058adecd
commit
69ac02bb39
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user