summaryrefslogtreecommitdiff
path: root/src/envsecurity.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-07-10 15:55:13 -0400
committerGitHub <noreply@github.com>2020-07-10 15:55:13 -0400
commit4fc61c7cd4befb79beabc2cc4e6b8b9a954db95c (patch)
tree5fe16c49d0fd410ba1c3440c5a09c36fb3128904 /src/envsecurity.cpp
parent69b86b206b2b659653b6f3c6cece77bf8c10ab0a (diff)
parent315776799fe38b09b4c0684bd4c1236bdf2e329e (diff)
Merge pull request #1152 from isanae/small-fixes
Small fixes
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 {