From 8b1bbd690c3aea36dea804542c1bc56274b2ad31 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 1 Dec 2016 22:29:12 +0900 Subject: [PATCH] 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 --- functions-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions-common b/functions-common index cc1d42b0d6..f07b382ce6 100644 --- a/functions-common +++ b/functions-common @@ -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