From: Felix Fietkau Date: Sun, 24 Jun 2012 17:30:05 +0000 (+0200) Subject: do not start instances with invalid config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a8c7fd59bb08ac9156b110df2710a8dcad8dbec0;p=project%2Fprocd.git do not start instances with invalid config --- diff --git a/instance.c b/instance.c index a1604f6..8ed53e3 100644 --- a/instance.c +++ b/instance.c @@ -19,6 +19,8 @@ void instance_start(struct service_instance *in) { in->restart = false; + if (!in->valid) + return; } static void