Use exit-status macros for compatibility 2/3

This commit is contained in:
Robin Gareus 2019-07-04 22:21:35 +02:00
parent dbc0c54ced
commit e76e18af96
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
6 changed files with 10 additions and 10 deletions

View file

@ -91,7 +91,7 @@ Transmitter::deliver ()
sigemptyset (&mask);
sigsuspend (&mask);
/*NOTREACHED*/
exit (1);
exit (EXIT_FAILURE);
/* JE - From what I can tell, the above code suspends
* program execution until (any) signal occurs. Not
* sure at the moment what this achieves, unless it