summaryrefslogtreecommitdiffstats
path: root/src/core/swap.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-08-21 16:20:59 +0200
committerLennart Poettering <lennart@poettering.net>2019-08-22 09:09:45 +0200
commit5cc2cd1cd8faf01258a2130e38229fedc35e6cef (patch)
tree3f4ad833bda6954e676e26b0f2ff85130d9a57f8 /src/core/swap.c
parentMerge pull request #13368 from keszybz/close-watchdog (diff)
downloadsystemd-5cc2cd1cd8faf01258a2130e38229fedc35e6cef.tar.xz
systemd-5cc2cd1cd8faf01258a2130e38229fedc35e6cef.zip
pid1: always log successfull process termination quietly
Fixes #13372.
Diffstat (limited to 'src/core/swap.c')
-rw-r--r--src/core/swap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/swap.c b/src/core/swap.c
index 303afc9f35..74381c0c95 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -1043,9 +1043,10 @@ static void swap_sigchld_event(Unit *u, pid_t pid, int code, int status) {
}
unit_log_process_exit(
- u, f == SWAP_SUCCESS ? LOG_DEBUG : LOG_NOTICE,
+ u,
"Swap process",
swap_exec_command_to_string(s->control_command_id),
+ f == SWAP_SUCCESS,
code, status);
switch (s->state) {