mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-20 04:46:37 +02:00
Check that files are formatted correctly.
Fail the CI build if they are not.
This commit is contained in:
@ -132,6 +132,7 @@ static void catch_SIGSEGV(int sig)
|
||||
if (!freopen("/dev/tty", "w", stderr)) { // make sure stderr is enabled since we may have disabled it
|
||||
fprintf(stderr, "Warning: Failed to enable stderr\n");
|
||||
}
|
||||
|
||||
endwin();
|
||||
fprintf(stderr, "Caught SIGSEGV: Aborting toxic session.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
|
Reference in New Issue
Block a user