mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 21:20:47 +02:00
more changes for bracket expressions in patterns
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
func()
|
||||
{
|
||||
eval "trap 'return 42' ERR; false"
|
||||
return 0
|
||||
}
|
||||
|
||||
set -o errtrace
|
||||
func || echo oops: $?
|
||||
Reference in New Issue
Block a user