is_coreos: make stderr silent

This commit is contained in:
Stéphane Lesimple 2018-01-15 13:04:28 +01:00
parent 2cd55f5445
commit 269fe93797
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ unload_cpuid()
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
}