fix pipe failed error messages

We changed cases where the echo was `failed",` to `failed,"`.

This is a minor edit, no functionality was changed.
This commit is contained in:
Landon Curt Noll committed 2025-03-28 20:24:51 -07:00
1 parent cf50337255
commit 49068e4c5b
4 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -512,7 +512,7 @@ case "$XPATHJSON_USE" in
sed -e 's/\(\S\): /\1 : /' > "$TMP_JSON_FILE"
status_codes=("${PIPESTATUS[@]}")
if [[ ${status_codes[*]} =~ [1-9] ]]; then
echo "$0: ERROR: $JSP_TOOL --indent 4 --format --no-color < $JSON_FILE | sed ... failed", \
echo "$0: ERROR: $JSP_TOOL --indent 4 --format --no-color < $JSON_FILE | sed ... failed," \
"error codes: ${status_codes[*]}" 1>&2
exit 1
fi