diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-10-29 18:07:07 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-05 21:38:21 +0100 |
commit | 7f3614e5479446bbd5a2bdf6aed4962e8d803e35 (patch) | |
tree | 6ee77de900700d8e70487cc643b2fb19ce236f34 /man/sd_bus_error.xml | |
parent | nspawn: wrap some long lines (diff) | |
download | systemd-7f3614e5479446bbd5a2bdf6aed4962e8d803e35.tar.xz systemd-7f3614e5479446bbd5a2bdf6aed4962e8d803e35.zip |
run: propagate return code/status from the child
Fixes #13756. We were returning things that didn't make much sense:
we would always use the exit_code value as the exit code. But it sometimes
contains a exit code from the process, and sometimes the number of a signal
that was used to kill the process. We would also ignore SuccessExitStatus=
and in general whether systemd thinks the service exited successfully
(hence the issue in #13756, where systemd would return success/SIGTERM,
but we'd just look at the SIGTERM part.)
If we are doing --wait, let's always propagate the exit code/status from
the child.
While at it, make the documentation useful.
Diffstat (limited to 'man/sd_bus_error.xml')
0 files changed, 0 insertions, 0 deletions