diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2015-06-14 06:14:44 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-14 18:29:03 +0200 |
commit | ec983756ce1b12ab3e4259620919467cd711b90f (patch) | |
tree | e668191520208fc526a5c1aa1d4a058f1820985b /service | |
parent | 7df968175ffd3bc7df5682d5852fbf20fe454759 (diff) | |
download | unitd-ec983756ce1b12ab3e4259620919467cd711b90f.tar unitd-ec983756ce1b12ab3e4259620919467cd711b90f.zip |
service: dump respawn params in the same order as when passed in.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'service')
-rw-r--r-- | service/instance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/instance.c b/service/instance.c index 4ace40b..e89cbc6 100644 --- a/service/instance.c +++ b/service/instance.c @@ -917,8 +917,8 @@ void instance_dump(struct blob_buf *b, struct service_instance *in, int verbose) if (in->respawn) { void *r = blobmsg_open_table(b, "respawn"); - blobmsg_add_u32(b, "timeout", in->respawn_timeout); blobmsg_add_u32(b, "threshold", in->respawn_threshold); + blobmsg_add_u32(b, "timeout", in->respawn_timeout); blobmsg_add_u32(b, "retry", in->respawn_retry); blobmsg_close_table(b, r); } |