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:
8183146
)
fix skewed parameter order in respawn code
author
John Crispin
<blogic@openwrt.org>
Wed, 4 Sep 2013 15:32:15 +0000
(17:32 +0200)
committer
John Crispin
<blogic@openwrt.org>
Fri, 13 Sep 2013 15:35:55 +0000
(17:35 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
instance.c
patch
|
blob
|
history
diff --git
a/instance.c
b/instance.c
index 4230d0dddf39430da7537fcb65f96bf0044b06c3..7895a04cc7b03cb74ff3749112bd75c5327e83b1 100644
(file)
--- a/
instance.c
+++ b/
instance.c
@@
-334,8
+334,8
@@
instance_config_parse(struct service_instance *in)
}
in->respawn = true;
in->respawn_count = 0;
- in->respawn_t
imeout
= vals[0];
- in->respawn_t
hreshold
= vals[1];
+ in->respawn_t
hreshold
= vals[0];
+ in->respawn_t
imeout
= vals[1];
in->respawn_retry = vals[2];
}
if (tb[INSTANCE_ATTR_TRIGGER]) {