aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libimcv/os_info/os_info.c2
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;