summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/condition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/condition.c b/src/condition.c
index e978656772..07624c841d 100644
--- a/src/condition.c
+++ b/src/condition.c
@@ -148,7 +148,7 @@ static bool test_virtualization(const char *parameter) {
return true;
/* Finally compare id */
- return streq(parameter, id);
+ return v > 0 && streq(parameter, id);
}
static bool test_security(const char *parameter) {