1
0
mirror of https://github.com/speed47/spectre-meltdown-checker synced 2024-12-22 04:13:38 +01:00

fix: --batch now implies --no-color to avoid colored warnings

This commit is contained in:
Stéphane Lesimple 2018-08-18 12:04:18 +02:00
parent dd67fd94d7
commit 0009c0d473

View File

@ -637,6 +637,7 @@ while [ -n "$1" ]; do
elif [ "$1" = "--batch" ]; then
opt_batch=1
opt_verbose=0
opt_no_color=1
shift
case "$1" in
text|nrpe|json|prometheus) opt_batch_format="$1"; shift;;