Skip to content

Commit

Permalink
Merge pull request #3 from digarok/error-codes
Browse files Browse the repository at this point in the history
Error codes - Fix to return 1 (error) when assembly fails
  • Loading branch information
lroathe authored May 5, 2020
2 parents b09a0f3 + 83e87c6 commit 15006b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Main.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ int main(int argc, char *argv[])
/* End of error handling */
my_RaiseError(ERROR_END,NULL);


if (error) {
return EXIT_FAILURE;
}
/* OK */
return EXIT_SUCCESS;
}
Expand Down

0 comments on commit 15006b9

Please sign in to comment.