Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Die as intended on bin2pat error #474

Merged
merged 1 commit into from
Jan 28, 2019
Merged

Die as intended on bin2pat error #474

merged 1 commit into from
Jan 28, 2019

Conversation

leftmostcat
Copy link
Contributor

As described in #473, bin2pat does not die correctly when an error is encountered, which affects the running of other scripts.

@s3rvac s3rvac self-assigned this Jan 28, 2019
@s3rvac s3rvac self-requested a review January 28, 2019 11:20
Copy link
Member

@s3rvac s3rvac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix! 👍

@s3rvac s3rvac merged commit 142eb78 into avast:master Jan 28, 2019
s3rvac added a commit that referenced this pull request Jan 28, 2019
s3rvac added a commit that referenced this pull request Jan 28, 2019
After #474, printErrorAndDie() no longer returns anything, so we can change the
return value from `int` to `void` and reflect this change in other parts of the
code.

Also, add return statements after terminating functions to improve the code
readability.
s3rvac added a commit that referenced this pull request Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants