chiark / gitweb /
execute: load environment files at time of execution, not when we load the service...
[elogind.git] / src / condition.c
index 3ab4d4e225e6840af5ddc3fa91b215ec30cfc436..630350ed365ea818b4ac0806bfb3cb8940322746 100644 (file)
@@ -138,10 +138,10 @@ bool condition_test(Condition *c) {
         }
 
         case CONDITION_KERNEL_COMMAND_LINE:
-                return !!test_kernel_command_line(c->parameter) == !c->negate;
+                return test_kernel_command_line(c->parameter) == !c->negate;
 
         case CONDITION_VIRTUALIZATION:
-                return !!test_virtualization(c->parameter) == !c->negate;
+                return test_virtualization(c->parameter) == !c->negate;
 
         case CONDITION_NULL:
                 return !c->negate;