Skip to content

Comments

feat: __BACKTRACE_EXITCODE__ which stores original exit code#104

Open
koval-jan wants to merge 1 commit intoniieani:masterfrom
koval-jan:backtrace-exitcode
Open

feat: __BACKTRACE_EXITCODE__ which stores original exit code#104
koval-jan wants to merge 1 commit intoniieani:masterfrom
koval-jan:backtrace-exitcode

Conversation

@koval-jan
Copy link

I've added BACKTRACE_EXITCODE to be able to check in catch clause original exit number

then
local -a trace=( $(caller $i) )

echo "0"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the 0 here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants