diff --git a/src/core/unit.c b/src/core/unit.c index 48e7b95e56..03cd28826b 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -1727,7 +1727,7 @@ static bool unit_test_condition(Unit *u) { r = manager_get_effective_environment(u->manager, &env); if (r < 0) { log_unit_error_errno(u, r, "Failed to determine effective environment: %m"); - u->condition_result = CONDITION_ERROR; + u->condition_result = true; } else u->condition_result = condition_test_list( u->conditions,