mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -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;
|
||||
}
|
||||
|
||||
if (!os_name.ptr)
|
||||
if (!os_version.ptr)
|
||||
{
|
||||
DBG1(DBG_IMC, "no distribution release file found");
|
||||
return FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user