diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-07 14:08:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-07 14:10:53 +0200 |
commit | d11a76451f21dbec5dcc0d65444b76124764d3b5 (patch) | |
tree | df3ff8bc19475ce65e2f2506f60ebe6039024452 /src/rc-local-generator | |
parent | 47f5a38cdf98a220d6a0d4eb11a710a0a42ae5c4 (diff) |
unit: move "not supported" check after condition check in unit_start()
Make sure we always check conditions before checking whether the unit
type is supported in unit_start(), since condition checks are "clean
errors", while "not supported" errors are fatal.
This cleans up the boot output of systemd in containers, where a lot of
NOTSUPP lines were shown befor this fix.
This partially reverts 8ff4d2ab0d4758e914aea6d86154d85f2b2c787f which
reorder the checks.
Diffstat (limited to 'src/rc-local-generator')
0 files changed, 0 insertions, 0 deletions