cleanup is run for any gojira command, and eats up exit status of main. This is only partly fixed by #56 and introduces a new issue of exit_status not being always set thus resulting on invalid exit codes.
As I see it, there are three ways of solving it:
Pick only one 😉 My preference would be for #58 but only if it really works
cleanupis run for any gojira command, and eats up exit status of main. This is only partly fixed by #56 and introduces a new issue ofexit_statusnot being always set thus resulting on invalid exit codes.As I see it, there are three ways of solving it:
exit_statusafter runningmainchore(*) fix exit_status #57cleanupto run on a trap and removeexit_statusYet another way of removing exit status #59cleanupandexit_statusalltogether feat(*) remove cleanup #58Pick only one 😉 My preference would be for #58 but only if it really works