pid1: always log successfull process termination quietly

Fixes #13372.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-08-22 09:09:45 +02:00
committed by Lennart Poettering
parent 2de1ce6838
commit 5cc2cd1cd8
6 changed files with 23 additions and 12 deletions
+2 -1
View File
@@ -3014,9 +3014,10 @@ static void socket_sigchld_event(Unit *u, pid_t pid, int code, int status) {
}
unit_log_process_exit(
u, f == SOCKET_SUCCESS ? LOG_DEBUG : LOG_NOTICE,
u,
"Control process",
socket_exec_command_to_string(s->control_command_id),
f == SOCKET_SUCCESS,
code, status);
if (s->result == SOCKET_SUCCESS)