diff options
author | John Crispin <blogic@openwrt.org> | 2013-09-04 17:32:15 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-09-13 17:35:55 +0200 |
commit | 6053eeb3d904516da7e8bcda314f6a37a604f024 (patch) | |
tree | 6efb0d7170914a4c5104d5b84d9e8d306057fc8c | |
parent | 8183146ad8c706c33465fbef926f5d6e971da625 (diff) | |
download | unitd-6053eeb3d904516da7e8bcda314f6a37a604f024.tar unitd-6053eeb3d904516da7e8bcda314f6a37a604f024.zip |
fix skewed parameter order in respawn code
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | instance.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -334,8 +334,8 @@ instance_config_parse(struct service_instance *in) } in->respawn = true; in->respawn_count = 0; - in->respawn_timeout = vals[0]; - in->respawn_threshold = vals[1]; + in->respawn_threshold = vals[0]; + in->respawn_timeout = vals[1]; in->respawn_retry = vals[2]; } if (tb[INSTANCE_ATTR_TRIGGER]) { |