From: Davin McCall Date: Sun, 19 Jun 2016 14:16:10 +0000 (+0100) Subject: next_for_console was not being set null when a service queued for X-Git-Tag: v0.03~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=20760173f6d60e10b5a1c098a027365d8e5698f8;p=oweals%2Fdinit.git next_for_console was not being set null when a service queued for the console (and was not initialised). --- diff --git a/src/service.h b/src/service.h index b1b1963..eed59e6 100644 --- a/src/service.h +++ b/src/service.h @@ -680,6 +680,7 @@ class ServiceSet { auto prev_tail = console_queue_tail; console_queue_tail = newTail; + newTail->next_for_console = nullptr; if (! prev_tail) { console_queue_head = newTail; enable_console_log(false);