diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-03 13:37:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-03 13:37:21 +0200 |
commit | 95c906ae0727123e45a9d88782133cac4554ddcd (patch) | |
tree | 93fb199cbcc5982fefe405b11a1857ed4a545226 /CODING_STYLE | |
parent | 6c1695be47b2830c79e128e4d05d760eb862184e (diff) |
core: don't unset reload result, unless we begin a start or reload operation
Much like the result of the service itself we should not reset the
reload result unless we actually start from the beginning, so that
clients can query it at any time.
Specifically, let's reset the result states only when we begin with a
start operation (for both the main result, and the reload result), when
we begin with a reload operation (only for the load result), or when the
use explicitly asks for that via "systemctl reset-failed".
This is a more generic fix for #1447.
Fixes #1447.
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions