echo: direct warnings via echo helper to stderr

This commit is contained in:
Lyndon Brown 2020-03-01 02:57:05 +00:00 committed by Luca Boccassi
parent e3a987d977
commit 57a9428080
1 changed files with 3 additions and 3 deletions

View File

@ -139,12 +139,12 @@ Echo_warning ()
if [ "${_COLOR}" = "false" ]
then
printf "W:" >&1
printf "W:" >&2
else
printf "${YELLOW}W${NO_COLOR}:" >&1
printf "${YELLOW}W${NO_COLOR}:" >&2
fi
printf " ${STRING}\n" "${@}" >&1
printf " ${STRING}\n" "${@}" >&2
}
Echo_status ()