provide a way to return from main function with non-zero exit code and run all deferred function #42078
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
os.Exit
allows to set a non-zero status code, but it exit the program immediately and no deferred functions are run.The text was updated successfully, but these errors were encountered: