mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
48601/0005: zmathfuncdef: Fix the workers/48147 return status / 'set -e' bug.
Not tested.
This commit is contained in:
parent
4202c0bbe3
commit
a23f19bfbd
2 changed files with 4 additions and 1 deletions
|
@ -78,7 +78,7 @@ if ! zmodload -e zsh/mathfunc; then
|
|||
fi
|
||||
|
||||
{
|
||||
eval "$fname() { (( $body )) }"
|
||||
eval "$fname() { (( $body )); true }"
|
||||
} always {
|
||||
# Remove math function if shell function definition failed.
|
||||
if (( TRY_BLOCK_ERROR )); then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue