diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-06 21:45:12 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-10 20:02:16 +0200 |
commit | 033f0ab85d9cc5e8ae66e07d4740482abb5617ef (patch) | |
tree | 473dad6b53745ea93fc2f06b2cb9c8d66771fa82 /m4 | |
parent | 64c3610b55799c738e4fdc7236fadd635649c0f4 (diff) |
systemctl: don't suppress error code when handling legacy commands
For legacy commands such as /sbin/halt or /sbin/poweroff we support legacy
fallbacks that talk via traditional SysV way with PID 1 to issue the desired
operation. We do this on any kind of error if the primary method of operation
fails. When this is the case we suppress any error message that is normally
generated, in order to not confuse the user. When suppressing this log message,
don't suppress the original error code, because there's really no reason to.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions