mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:55:45 +01:00
make error return 1 instead of aborting, as abort is rather cruel
This commit is contained in:
@@ -13,5 +13,5 @@
|
||||
#define fatal(s, ...) \
|
||||
do { \
|
||||
printf("\033[101m" __FILE__ ":" ERROR_STR(__LINE__) ": [FAT]: " s "\033[0m\n", ##__VA_ARGS__); \
|
||||
abort(); \
|
||||
exit(1); \
|
||||
} while (0)
|
||||
|
||||
Reference in New Issue
Block a user