without debugger no reason to manage SIGINT

This commit is contained in:
Gwenhael Le Moine 2023-09-07 16:39:55 +02:00
parent bfac5fc2a1
commit 2f45a02a10
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -104,15 +104,6 @@ int main( int argc, char** argv ) {
#endif
sigaction( SIGALRM, &sa, ( struct sigaction* )0 );
sigemptyset( &set );
sigaddset( &set, SIGINT );
sa.sa_handler = signal_handler;
sa.sa_mask = set;
#ifdef SA_RESTART
sa.sa_flags = SA_RESTART;
#endif
sigaction( SIGINT, &sa, ( struct sigaction* )0 );
sigemptyset( &set );
sigaddset( &set, SIGPIPE );
sa.sa_handler = signal_handler;