feat(SC3040): support set -o pipefail as specified by POSIX.1-2024

fix #2555
This commit is contained in:
Eisuke Kawashima
2025-09-19 17:45:57 +09:00
parent d09551a4e6
commit 6d4fa9fb2c
2 changed files with 5 additions and 5 deletions

View File

@@ -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