summaryrefslogtreecommitdiff
path: root/src/envsecurity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/envsecurity.cpp')
-rw-r--r--src/envsecurity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/envsecurity.cpp b/src/envsecurity.cpp
index 8b1d25b2..fd65b483 100644
--- a/src/envsecurity.cpp
+++ b/src/envsecurity.cpp
@@ -298,6 +298,8 @@ std::optional<SecurityProduct> handleProduct(IWbemClassObject* o)
state = prop.lVal;
} else if (prop.vt == VT_UI4) {
state = prop.ulVal;
+ } else if (prop.vt == VT_UI1) {
+ state = prop.bVal;
} else if (prop.vt == VT_NULL) {
log::warn("productState is null");
} else {