chiark / gitweb /
core: add new ConditionArchitecture() that checks the architecture returned by uname...
[elogind.git] / src / core / condition.c
index 658e8d6a4c000e47d9f6b769d9d3ec559ec6c44f..1448fa19dc3eb6bc039df94828541e951d521c45 100644 (file)
@@ -167,6 +167,9 @@ static bool condition_test(Condition *c) {
         case CONDITION_AC_POWER:
                 return condition_test_ac_power(c);
 
+        case CONDITION_ARCHITECTURE:
+                return condition_test_architecture(c);
+
         case CONDITION_NULL:
                 return !c->negate;