mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
abort() instead of exit()
This commit is contained in:
parent
87120e0f75
commit
4642e68d6f
2
util.c
2
util.c
|
|
@ -102,7 +102,7 @@ static void fatal_exit(void)
|
||||||
unlink_files();
|
unlink_files();
|
||||||
fprintf(outputfile, "Fatal error - exiting\n");
|
fprintf(outputfile, "Fatal error - exiting\n");
|
||||||
fflush(outputfile);
|
fflush(outputfile);
|
||||||
exit(1);
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Failure when there is likely to be a meaningful error in perror */
|
/* Failure when there is likely to be a meaningful error in perror */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue