Commit 75dfb26
committed
fix(install): avoid local in top-level error handler
Capture the failing command status in a regular variable before printf so the script stays POSIX-safe.
Add an inline note that local is only valid inside functions.1 parent 90144ad commit 75dfb26
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments