Commit d956ac29 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

core: unit_inactive_or_pending() should actually do as it claims

parent d686f034
......@@ -2676,6 +2676,9 @@ bool unit_inactive_or_pending(Unit *u) {
/* Returns true if the unit is inactive or going down */
if (UNIT_IS_INACTIVE_OR_DEACTIVATING(unit_active_state(u)))
return true;
if (unit_stop_pending(u))
return true;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment