Skip to content

command not found yields exit code zero #15

@jautz

Description

@jautz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions