diff options
author | Martin Willi <martin@revosec.ch> | 2012-11-19 13:26:05 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-11-30 15:48:39 +0100 |
commit | 55b323c2240c2c71a0a3e51e5ee96c746136f57d (patch) | |
tree | 52398a0085ecaae415785d9df2752e4aaa0cde45 /src | |
parent | dd685d55e52211678b0b2ca4762f9c7cf49b6b04 (diff) | |
download | strongswan-55b323c2240c2c71a0a3e51e5ee96c746136f57d.tar.bz2 strongswan-55b323c2240c2c71a0a3e51e5ee96c746136f57d.tar.xz |
Check os_version when reading release file, os_name is not set for Debian
Diffstat (limited to 'src')
-rw-r--r-- | src/libimcv/os_info/os_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libimcv/os_info/os_info.c b/src/libimcv/os_info/os_info.c index 098cb1e83..f7cd52524 100644 --- a/src/libimcv/os_info/os_info.c +++ b/src/libimcv/os_info/os_info.c @@ -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; |