Skip to content
Snippets Groups Projects
Commit cb9a0030 authored by Nikolaos Kakouros's avatar Nikolaos Kakouros
Browse files

Fix warn function when running from python's subprocess

parent 28a1fa46
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ function abort() {
function warn() {
@required [string] message
COLUMNS=100 @go.printf "${UI_Color_Magenta}Warning: %b%s${UI_Color_Default}\n" "$message" >&"${STDERR}"
COLUMNS=100 @go.printf "${UI_Color_Magenta}Warning: %b%s${UI_Color_Default}\n" "$message" >&"$"{STDERR:-2}
}
function set_standard_outputs() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment