utils/shfmt.sh: redirect differences to stderr
This commit is contained in:
parent
735eb78601
commit
3113bf7158
@ -371,7 +371,7 @@ format() {
|
||||
cp -af "${tempfile}" "${file}"
|
||||
else
|
||||
# Show differences
|
||||
"${DIFF}" "${DIFF_ARGS[@]}" "${file}" "${tempfile}"
|
||||
"${DIFF}" "${DIFF_ARGS[@]}" "${file}" "${tempfile}" 1>&2
|
||||
fi
|
||||
return 4
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user