1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-23 04:51:12 +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
echo out2
'
-:'exit' in trap causes calling function to return
0:'exit' in trap causes calling function to return
>out1
>fn1
>trap1