projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbceda2
)
do not start instances with invalid config
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Jun 2012 17:30:05 +0000
(19:30 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Jun 2012 17:30:05 +0000
(19:30 +0200)
instance.c
patch
|
blob
|
history
diff --git
a/instance.c
b/instance.c
index a1604f679691ec15d4177e1bd2a9a858be22a7ec..8ed53e3a2cc95afba1650a79ae608f23ce1ceb71 100644
(file)
--- 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