Make deprecated() output to stderr
So that it can be used by functions like _determine_config_server, which is used like RESULT=$(_determine_config_server). Change-Id: Ia4e641c5529b95ada30ae662221f370bc7fa88a7
This commit is contained in:
parent
c74315e055
commit
8b1bbd690c
@ -216,7 +216,7 @@ function die_if_not_set {
|
||||
function deprecated {
|
||||
local text=$1
|
||||
DEPRECATED_TEXT+="\n$text"
|
||||
echo "WARNING: $text"
|
||||
echo "WARNING: $text" >&2
|
||||
}
|
||||
|
||||
# Prints line number and "message" in error format
|
||||
|
Loading…
Reference in New Issue
Block a user