diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-10-10 21:56:36 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-10-10 22:56:55 +0200 |
commit | 38107f5a4ad5ab148054910040d5d548a4c7a805 (patch) | |
tree | 33f92b20ceca2a60bb31c5ffaebd386e52004d07 /src/core | |
parent | exit-status: kill is_clean_exit_lsb(), move logic to sysv-generator (diff) | |
download | systemd-38107f5a4ad5ab148054910040d5d548a4c7a805.tar.xz systemd-38107f5a4ad5ab148054910040d5d548a4c7a805.zip |
core: lower exit status "level" at one place
When we print information about PID 1's crashdump subprocess failing. In this
case we *know* that we do not generate LSB exit codes, as it's basically PID 1
itself that exited there.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c index 30d9c43fbb..0908993c4a 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -203,7 +203,7 @@ noreturn static void crash(int sig) { pid, sigchld_code_to_string(status.si_code), status.si_status, strna(status.si_code == CLD_EXITED - ? exit_status_to_string(status.si_status, EXIT_STATUS_FULL) + ? exit_status_to_string(status.si_status, EXIT_STATUS_MINIMAL) : signal_to_string(status.si_status))); else log_emergency("Caught <%s>, dumped core as pid "PID_FMT".", signal_to_string(sig), pid); |