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

command not found yields exit code zero #15

Closed
jautz opened this issue Mar 17, 2017 · 3 comments
Closed

command not found yields exit code zero #15

jautz opened this issue Mar 17, 2017 · 3 comments
Labels

Comments

@jautz
Copy link

jautz commented Mar 17, 2017

With execbeat version 3.1.1 on GNU/Linux exit code zero is being returned if the configured command cannot be found.

The log file contains an appropriate error message but in the produced document the exitCode suggests success:

  "exec": {
    "command": "FILE",
    "exitCode": 0,
    "stdout": ""
  },

Please consider producing code 127 in this case because this will help to recognise the problem's cause. Thank you.

@christiangalsterer
Copy link
Owner

christiangalsterer commented Mar 17, 2017 via email

@christiangalsterer
Copy link
Owner

A fix is a available on master. Will try to make a release soon.

@christiangalsterer
Copy link
Owner

Released with 3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants