kbuild: replace abort() with exit(1)
We have had no use of the coredump file for a long time. So just exit(1) and avoid coredumping. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
@@ -330,7 +330,7 @@ static void parse_elf(struct elf_info *info, const char *filename)
|
||||
hdr = grab_file(filename, &info->size);
|
||||
if (!hdr) {
|
||||
perror(filename);
|
||||
abort();
|
||||
exit(1);
|
||||
}
|
||||
info->hdr = hdr;
|
||||
if (info->size < sizeof(*hdr))
|
||||
|
||||
Reference in New Issue
Block a user