epc: Drop signal(SIGKILL) calls

SIGKILL cannot be intercepted by apps, so it's useless adding a signal
handler for them. I'm pretty sure the signal() function is erroring in
this scenarios. From signal() man page:
"The signals SIGKILL and SIGSTOP cannot be caught or ignored."
This commit is contained in:
Pau Espin Pedrol 2020-02-05 17:01:11 +01:00 committed by Andre Puschmann
parent ed179fd311
commit 64de92183b
2 changed files with 0 additions and 2 deletions

View File

@ -384,7 +384,6 @@ int main(int argc, char* argv[])
{
signal(SIGINT, sig_int_handler);
signal(SIGTERM, sig_int_handler);
signal(SIGKILL, sig_int_handler);
// print build info
cout << endl << get_build_string() << endl;

View File

@ -190,7 +190,6 @@ int main(int argc, char* argv[])
cout << endl << "--- Software Radio Systems MBMS ---" << endl << endl;
signal(SIGINT, sig_int_handler);
signal(SIGTERM, sig_int_handler);
signal(SIGKILL, sig_int_handler);
all_args_t args;
parse_args(&args, argc, argv);