mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-16 00:00:37 -04:00
Check os_version when reading release file, os_name is not set for Debian
This commit is contained in:
parent
dd685d55e5
commit
55b323c224
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user