diff --git a/tools/bits-info.sh b/tools/bits-info.sh index eb3d9d27..0054a9da 100755 --- a/tools/bits-info.sh +++ b/tools/bits-info.sh @@ -11,9 +11,9 @@ SCRIPT_VERSION='1.5.17' ### CONFIGURATION ### set -u 2> /dev/null || : -set +m 2> /dev/null || : # shellcheck disable=SC3040 # Ignore: In POSIX sh, set option pipefail is undefined case "$(set 2> /dev/null -o || set || :)" in *'pipefail'*) set -o pipefail || printf 1>&2 '%s\n' 'Failed: pipefail' ;; *) ;; esac +case "$(set 2> /dev/null -o || set || :)" in *'monitor'*) set +m || printf 1>&2 '%s\n' 'Failed: monitor' ;; *) ;; esac # The "obosh" shell does NOT support "command" while the "posh" shell does NOT support "type" {