We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 923cfbe commit b880d01Copy full SHA for b880d01
src/vmaware.hpp
@@ -11845,8 +11845,14 @@ struct VM {
11845
merge(TMP_VMWARE_HARD, TMP_ESX, TMP_VMWARE_HARD);
11846
merge(TMP_VMWARE_HARD, TMP_GSX, TMP_VMWARE_HARD);
11847
merge(TMP_VMWARE_HARD, TMP_WORKSTATION, TMP_VMWARE_HARD);
11848
-
+
11849
if (active_count > 1) {
11850
+ // remove "Unknown" if detected with other brands
11851
+ const int idx = find_index(brands::NULL_BRAND);
11852
+ if (idx != -1) {
11853
+ remove_at(idx);
11854
+ }
11855
11856
std::sort(active_brands.begin(), active_brands.begin() + static_cast<std::ptrdiff_t>(active_count), [](
11857
const brand_element_t& a,
11858
const brand_element_t& b
0 commit comments