chiark / gitweb /
unit: count deserialized job only after it's definitely installed
authorMichal Schmidt <mschmidt@redhat.com>
Sat, 2 Mar 2013 11:29:04 +0000 (12:29 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Sat, 2 Mar 2013 11:29:04 +0000 (12:29 +0100)
commit6b19ad24d3b6ade48d9e3d29e5348fc6b8d7c811
tree003f9f09e0ad036855f30fa0082da84f45726134
parentcf843477946451fabf9b5d17eec8ec81515057b6
unit: count deserialized job only after it's definitely installed

Installation of a deserialized job may fail (though purely in theory),
so increase the running job counter only when succeeding.
src/core/unit.c