core: when determining system state, don't bother with JOB_TRY_RESTART
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 17:49:59 +0000 (18:49 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 17:49:59 +0000 (18:49 +0100)
commitf0469b8c4abbeee9ca69678245cd08314adc24c0
tree19a349c961cfaed93d0e7c98f8555776173c4ad6
parent3282591dc30b2934a895c7403d2f0b0690260947
core: when determining system state, don't bother with JOB_TRY_RESTART

When we determine the current system state we check whether units like emergency.target are running or a job that
results in them being run is queued. However, this is not the case for JOB_TRY_RESTART, since that's a NOP if the unit
has not been running before. Hence, don't bother with checking for that job type.
src/core/manager.c