From b51c818742594350a5e3f594956ce6c3acc442bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20A=CC=81lvaro?= Date: Fri, 26 Feb 2021 07:39:56 +0100 Subject: [PATCH] fix: Redirect output to stderr with log_error --- assets/runtime/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/runtime/functions.sh b/assets/runtime/functions.sh index 028ed2c..1511880 100755 --- a/assets/runtime/functions.sh +++ b/assets/runtime/functions.sh @@ -19,7 +19,7 @@ function exec_as_salt() # Log error function log_error() { - (>2& echo "ERROR: $*") + (>&2 echo "ERROR: $*") } # Map salt user with host user