Commit 0a05aca
committed
fix: use _cleanup hook instead of overriding cleanup()
download-artifacts.sh sources library.sh which already registers
`trap cleanup EXIT`. Defining a local cleanup() was overriding the
library's version and breaking the standard cleanup chain (killing
child processes). Rename to _cleanup() so it participates in the
hook mechanism correctly, and drop the redundant trap registration.1 parent 889bd1f commit 0a05aca
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments