Make sure to initialise all state bits
authorDavin McCall <davmac@davmac.org>
Sun, 3 Jan 2016 16:39:35 +0000 (16:39 +0000)
committerDavin McCall <davmac@davmac.org>
Sun, 3 Jan 2016 16:39:35 +0000 (16:39 +0000)
service.h

index 8fabc0c9ac79962113d40effd8320cff36e13a0c..ae878b56047f53929bf4b782a3ae4db77e0291a6 100644 (file)
--- 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;