Previous to the Cobra refactor, when buildevents cmd
would execute a command it would pass along the exit status from that command. In other words, if the command buildevents is running fails, the buildevents command itself will fail with the same exit code. That feature was lost when we switched to the Cobra framework because the standard Run
command has no error return value. Instead Cobra has the RunE
function.
This release fixes the lost feature that when the command being run fails, buildevents will also fail.