1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-24 05:11:08 +02:00

unposted (see 50072): check exit status in exit-from-trap test

This commit is contained in:
Bart Schaefer 2022-04-17 19:19:05 -07:00
parent f5c2f73301
commit af634c3acd

View file

@ -901,7 +901,7 @@ F:Must be tested with a top-level script rather than source or function
fn trap1 trap2 fn trap1 trap2
echo out2 echo out2
' '
-:'exit' in trap causes calling function to return 0:'exit' in trap causes calling function to return
>out1 >out1
>fn1 >fn1
>trap1 >trap1