summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-10 21:24:57 -0400
committerGitHub <noreply@github.com>2016-10-10 21:24:57 -0400
commitec72b963666020003d780fcc0751bc84da14e258 (patch)
treef65b1621f23a506a08e10b42a024890c572b396a /src/core/main.c
parent19f0cf65c945884d19c91667a683dac084f0a944 (diff)
parent052364d41f432c5a2357122a41d5f60cabb63a5e (diff)
Merge pull request #4337 from poettering/exit-code
Fix for #4275 and more
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 9985510161..4b82a57b3c 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);