mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2025-10-30 20:20:59 +01:00
is_coreos: make stderr silent
This commit is contained in:
@@ -518,7 +518,7 @@ unload_cpuid()
|
|||||||
|
|
||||||
is_coreos()
|
is_coreos()
|
||||||
{
|
{
|
||||||
which coreos-install >/dev/null && which toolbox >/dev/null && return 0
|
which coreos-install >/dev/null 2>&1 && which toolbox >/dev/null 2>&1 && return 0
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user