When sending custom remote commands to slaves, it seems that it always returns success, even if the process exist code was non-zero
This is currently by design. The result is based on if the process was started successfully, not on its exit code. The exit code and its stdout are then included in the results text.
Cheers,
Ryan
Could non zero exit codes be shown with a different color then? When submitting remote commands to 1500 machines, its not easy to determine what failed and what not…
That’s a good point. Maybe we could just flag it as an error, and have the result message in the list make it clear that it was due to a non-zero exit code. I’ll throw it on the todo list for version 7, since I would imagine it’s a pretty easy change.
Cheers,
Ryan