execute: bump up log level of executed processes that failed
This commit is contained in:
+2
-1
@@ -1535,7 +1535,8 @@ static void socket_sigchld_event(Unit *u, pid_t pid, int code, int status) {
|
||||
success = true;
|
||||
}
|
||||
|
||||
log_debug("%s control process exited, code=%s status=%i", u->meta.id, sigchld_code_to_string(code), status);
|
||||
log_full(success ? LOG_DEBUG : LOG_NOTICE,
|
||||
"%s control process exited, code=%s status=%i", u->meta.id, sigchld_code_to_string(code), status);
|
||||
s->failure = s->failure || !success;
|
||||
|
||||
if (s->control_command && s->control_command->command_next && success) {
|
||||
|
||||
Reference in New Issue
Block a user