echo: fix problem with error printing
lack of stderr directed output for the `E:` prefix meant that it would not appear alongside the message in some use cases Gbp-Dch: Short Closes: #952878
This commit is contained in:
parent
a45dcf46f6
commit
b8e3a27324
|
@ -52,9 +52,9 @@ Echo_error ()
|
|||
|
||||
if [ "${_COLOR}" = "false" ]
|
||||
then
|
||||
printf "E:"
|
||||
printf "E:" >&2
|
||||
else
|
||||
printf "${RED}E${NO_COLOR}:"
|
||||
printf "${RED}E${NO_COLOR}:" >&2
|
||||
fi
|
||||
|
||||
printf " ${STRING}\n" "${@}" >&2
|
||||
|
|
Loading…
Reference in New Issue