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;
|
||||
}
|
||||
|
||||
if (!os_name.ptr)
|
||||
if (!os_version.ptr)
|
||||
{
|
||||
DBG1(DBG_IMC, "no distribution release file found");
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user