On 06/19/2012 10:00 AM, Michal Sekletar wrote:
+                if (job_type == JOB_STOP && u->load_state == UNIT_ERROR && 
unit_active_state(u) == UNIT_INACTIVE) {

In case anyone's wondering why there's the check for the unit's active state: It is possible to have units that are active and have a load error at the same time. We want to be able to stop these units.

Thanks, applied.

Michal
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to