shellcheck disable 2106

This commit is contained in:
tschettervictor
2025-05-04 12:42:58 -06:00
parent 76cda4b53f
commit 3f23ccb2c3
2 changed files with 3 additions and 2 deletions

View File

@@ -29,7 +29,8 @@ jobs:
# Excluding SC2124: Assigning an array to a string! Check instead if
# this is a false positive or if there is a better
# way to do it.
SHELLCHECK_OPTS: -e SC3043 -e SC2154 -e SC3037 -e SC2155 -e SC2124
# Excluding SC2106: This only exits the subshell caused by the (...) group.
SHELLCHECK_OPTS: -e SC3043 -e SC2154 -e SC3037 -e SC2155 -e SC2124 -e SC2106
with:
severity: warning
scandir: "./usr/local/share/bastille"

View File

@@ -102,7 +102,7 @@ bastille_running_jobs() {
if [ "${_running_jobs}" -ge "${_process_limit}" ]; then
# Wait for at least one process to finish
wait -n 2>/dev/null || wait
wait 2>/dev/null || wait
_running_jobs=$((_running_jobs - 1))