]>
Commit | Line | Data |
---|---|---|
1f718b0b ES |
1 | ( |
2 | for i in a b c | |
3 | do | |
4 | if false | |
5 | then | |
832c68b3 | 6 | # LINT: missing "&&" on "echo" okay since "exit 1" signals error explicitly |
1f718b0b ES |
7 | echo "err" |
8 | exit 1 | |
5459bc1b | 9 | # LINT: missing "&&" on "fi" |
1f718b0b ES |
10 | fi |
11 | foo | |
5459bc1b | 12 | # LINT: missing "&&" on "done" |
1f718b0b ES |
13 | done |
14 | bar | |
15 | ) |