From 78ce3bd81a350b31b07cdcec94ca373a37c4b569 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Sun, 3 Jan 2016 16:39:35 +0000 Subject: [PATCH] Make sure to initialise all state bits --- service.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service.h b/service.h index 8fabc0c..ae878b5 100644 --- a/service.h +++ b/service.h @@ -301,7 +301,8 @@ class ServiceRecord ServiceRecord(ServiceSet *set, string name) : service_state(ServiceState::STOPPED), desired_state(ServiceState::STOPPED), auto_restart(false), - pinned_stopped(false), pinned_started(false), force_stop(false) + pinned_stopped(false), pinned_started(false), waiting_for_deps(false), + waiting_for_execstat(false), doing_recovery(false), force_stop(false) { service_set = set; service_name = name; -- 2.25.1