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:
1 parent
cf50337255
commit
49068e4c5b
4 files changed
+21
-21
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user