1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

Remove exit() call from show_id

The only caller is able to check the return code and handle it
correctly.

Corresponding to flashrom svn r1545.

Signed-off-by: Niklas Söderlund <niso@kth.se>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
Niklas Söderlund
2012-06-16 00:11:16 +00:00
committed by Carl-Daniel Hailfinger
parent 4099a8a891
commit 9e42376c38
2 changed files with 5 additions and 2 deletions

View File

@ -137,7 +137,7 @@ int show_id(uint8_t *bios, int size, int force)
"\n\n",
mainboard_vendor, mainboard_part, lb_vendor,
lb_part);
exit(1);
return 1;
}
}