Updated SC2312 (markdown)

Grische
2021-11-11 17:13:38 +01:00
parent 3f1585ba53
commit 6fa060c615

@@ -30,8 +30,6 @@ By assigning it to a variable first, the exit code of the command will propagate
If you don't care about the command's exit status, or already handle it through a side channel like `<(cmd; echo $? > status)`, then you can either [[ignore]] the suggestion with a directive, or use `|| true` (or `|| :`) to suppress it. If you don't care about the command's exit status, or already handle it through a side channel like `<(cmd; echo $? > status)`, then you can either [[ignore]] the suggestion with a directive, or use `|| true` (or `|| :`) to suppress it.
Note that this suggestion is optional, and only shows up when explicitly enabled in the script, on the command line, or in a `.shellcheckrc`.
### Related resources: ### Related resources:
* Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc! * Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!