fix: Redirect output to stderr with log_error
This commit is contained in:
@@ -19,7 +19,7 @@ function exec_as_salt()
|
|||||||
# Log error
|
# Log error
|
||||||
function log_error()
|
function log_error()
|
||||||
{
|
{
|
||||||
(>2& echo "ERROR: $*")
|
(>&2 echo "ERROR: $*")
|
||||||
}
|
}
|
||||||
|
|
||||||
# Map salt user with host user
|
# Map salt user with host user
|
||||||
|
|||||||
Reference in New Issue
Block a user