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

Exiting with 0 on error #17

Closed
keithmendozasr opened this issue Nov 18, 2019 · 0 comments
Closed

Exiting with 0 on error #17

keithmendozasr opened this issue Nov 18, 2019 · 0 comments
Milestone

Comments

@keithmendozasr
Copy link
Owner

@keithmendozasr keithmendozasr commented Nov 18, 2019

Describe the bug
When an issue is encountered that terminates the program; the exit code is 0.

To Reproduce
Steps to reproduce the behavior:

  1. Create a target file that contains a record file path that includes a non-existent directory
  2. Start tlslookieloo using the target file
  3. Run the target client
  4. Observe tlslookieloo exits
  5. Observe the error log stating the record file can't be created.
  6. Print the exit code and observe it's zero.

Expected behavior
tlslookieloo should exit with non-zero code when an error occurs that terminates the program.

Console or log output
N/A

Environment:

  • OS: Debian
  • Version 10

Attachments
N/A

@keithmendozasr keithmendozasr added this to the 0.3.0 milestone Dec 13, 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

No branches or pull requests

1 participant