Check os_version when reading release file, os_name is not set for Debian

This commit is contained in:
Martin Willi 2012-11-19 13:26:05 +01:00
parent dd685d55e5
commit 55b323c224

View File

@ -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;