Skip to content

How can I refer to the last exit status in defer? #1472

Closed Answered by andreynering
your-diary asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @your-diary,

That's a valid use case, but not currently supported.

I just opened #1484 as a feature request so this may be considered in the future.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by your-diary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants