From 2a97082d28dea4f4b94f5b30b3d025460841557e Mon Sep 17 00:00:00 2001 From: Florian Schmaus <flow@cs.fau.de> Date: Mon, 12 Apr 2021 11:36:33 +0200 Subject: [PATCH] [check-iwyu] Use echoerr where sensible --- tools/check-iwyu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check-iwyu b/tools/check-iwyu index 645e22ea..4efd45c6 100755 --- a/tools/check-iwyu +++ b/tools/check-iwyu @@ -44,7 +44,7 @@ if [[ ! -v IWYU_TOOL ]]; then done if [[ ! -v IWYU_TOOL ]]; then - echo "iwyu_tool not found" + echoerr "iwyu_tool not found" exit 1 fi fi @@ -89,7 +89,7 @@ ERROR_STRINGS+=("fatal error:") for ERROR_STRING in "${ERROR_STRINGS[@]}"; do if grep -q "${ERROR_STRING}" "${IWYU_LOG}"; then - echo "IWYU found errors!" + echoerr "IWYU found errors!" cat "${IWYU_LOG}" exit 1 fi -- GitLab