From ae8b5ae27ed0b210e3a934e3f7363e447fc16135 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 10 Apr 2019 14:42:36 +0800 Subject: [PATCH] Debug output to stderr --- ghcup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghcup b/ghcup index e66e998..b49264e 100755 --- a/ghcup +++ b/ghcup @@ -506,7 +506,7 @@ emake() { # avoid re-checking for gmake # Print a blue debug message if verbosity is enabled. debug_message() { if ${VERBOSE} ; then - printf "\\033[0;34m%s\\033[0m\\n" "$1" + (>&2 printf "\\033[0;34m%s\\033[0m\\n" "$1") fi }