Commit 69be3a2
authored
Avoid early exit in check/shellcheck due to spurious read failure (#1150)
Problem: In bash `read -r -d "" VAR` expects a NUL character to
terminate
the input line. If missing read returns a failure exit status and thus
quits the shellcheck script due to its errexit option.
Solution: Terminate read input with the NUL character.1 parent 00419ab commit 69be3a2
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments