fix(shell): remove runtime early-exit pipe hazards (#1105)
Co-authored-by: f10-coder <[email protected]>
This commit was merged in pull request #1105.
This commit is contained in:
@@ -66,7 +66,7 @@ present=0
|
||||
|
||||
for entry in "${PRDY_REQUIRED_SECTIONS[@]}"; do
|
||||
pattern="${entry#*|}"
|
||||
if echo "$PRD_CONTENT" | grep -qiE "$pattern"; then
|
||||
if grep -qiE "$pattern" <<<"$PRD_CONTENT"; then
|
||||
present=$((present + 1))
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user