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

Exit after usage #456

Merged
merged 1 commit into from
Apr 19, 2019
Merged

Exit after usage #456

merged 1 commit into from
Apr 19, 2019

Conversation

ColinSullivan1
Copy link
Member

Recent changes removed a Fatalf in usage, which exited with an os.Exit(1). With this change when the benchmark was launched without the proper number of parameters, it would continue execution after usage and panic.

Add os.Exit(1) at the end of usage to restore previous exit behavior.

Signed-off-by: Colin Sullivan [email protected]

Signed-off-by: Colin Sullivan <[email protected]>
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison derekcollison merged commit 36d30b0 into master Apr 19, 2019
@wallyqs wallyqs deleted the usage-exit branch May 17, 2019 01:06
@wallyqs wallyqs mentioned this pull request May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants