Actually return failure when scripts/FL2_copyIMG has failed

pull/84/head
Hamish Coleman 6 years ago
parent 5a3ec01b97
commit b3a51d5b4e

@ -566,7 +566,7 @@ sub main() {
my $object = detect_img($fl2file);
if (!defined($object)) {
printf("Could not determine IMG details for %s\n", $fl2file);
return 1;
exit(1);
}
printf("IMG at offset 0x%x size 0x%x (%s %s)\n",
$object->offset(),

Loading…
Cancel
Save