core/unit: disable unit debug invocation in generic unit_reset_failed()
This commit is contained in:
@@ -5131,8 +5131,6 @@ static void service_reset_failed(Unit *u) {
|
||||
s->live_mount_result = SERVICE_SUCCESS;
|
||||
s->clean_result = SERVICE_SUCCESS;
|
||||
s->n_restarts = 0;
|
||||
|
||||
(void) unit_set_debug_invocation(u, /* enable= */ false);
|
||||
}
|
||||
|
||||
static PidRef* service_main_pid(Unit *u, bool *ret_is_alien) {
|
||||
|
||||
+2
-1
@@ -3867,7 +3867,8 @@ void unit_reset_failed(Unit *u) {
|
||||
|
||||
ratelimit_reset(&u->start_ratelimit);
|
||||
u->start_limit_hit = false;
|
||||
u->debug_invocation = false;
|
||||
|
||||
(void) unit_set_debug_invocation(u, /* enable= */ false);
|
||||
}
|
||||
|
||||
Unit *unit_following(Unit *u) {
|
||||
|
||||
Reference in New Issue
Block a user