mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-09-30 16:59:20 +08:00
feat(SC3040): support set -o pipefail
as specified by POSIX.1-2024
fix #2555
This commit is contained in:
@@ -224,9 +224,9 @@ makeParameters spec = params
|
||||
hasPipefail =
|
||||
case shellType params of
|
||||
Bash -> isOptionSet "pipefail" root
|
||||
Dash -> True
|
||||
Dash -> isOptionSet "pipefail" root
|
||||
BusyboxSh -> isOptionSet "pipefail" root
|
||||
Sh -> True
|
||||
Sh -> isOptionSet "pipefail" root
|
||||
Ksh -> isOptionSet "pipefail" root,
|
||||
hasExecfail =
|
||||
case shellType params of
|
||||
|
Reference in New Issue
Block a user