mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-12-22 20:33:56 +01:00
send warning to stderr. (#53)
With --batch json there must not be any other output on stdout, so redirect warnings to stderr will show the warning on the console and only the json output is on stdout.
This commit is contained in:
parent
a09a5ba38f
commit
52a8f78885
@ -122,7 +122,7 @@ _echo_nol()
|
||||
|
||||
_warn()
|
||||
{
|
||||
_echo 0 "\033[31m${@}\033[0m"
|
||||
_echo 0 "\033[31m${@}\033[0m" >&2
|
||||
}
|
||||
|
||||
_info()
|
||||
|
Loading…
Reference in New Issue
Block a user