systemd: log failed conditions
ConditionPathExists=/tmp/nosuchpath failed for nosuchpath.service.
This commit is contained in:
+1
-1
@@ -996,7 +996,7 @@ bool unit_condition_test(Unit *u) {
|
||||
assert(u);
|
||||
|
||||
dual_timestamp_get(&u->condition_timestamp);
|
||||
u->condition_result = condition_test_list(u->conditions);
|
||||
u->condition_result = condition_test_list(u->id, u->conditions);
|
||||
|
||||
return u->condition_result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user