mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-04 11:49:42 +08:00
The example should exit if the command succeeds. The "Correct code" didn't do that.
@@ -11,7 +11,7 @@ set -e
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
set -e
|
set -e
|
||||||
! false && exit 1
|
false && exit 1
|
||||||
```
|
```
|
||||||
|
|
||||||
### Rationale:
|
### Rationale:
|
||||||
|
Reference in New Issue
Block a user