Check os_version when reading release file, os_name is not set for Debian
This commit is contained in:
@@ -486,7 +486,7 @@ static bool extract_platform_info(os_type_t *type, chunk_t *name,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!os_name.ptr)
|
if (!os_version.ptr)
|
||||||
{
|
{
|
||||||
DBG1(DBG_IMC, "no distribution release file found");
|
DBG1(DBG_IMC, "no distribution release file found");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user