diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-24 20:18:33 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-24 20:18:33 +0200 |
commit | d4ff22c576eff5c362d43036b3788e61b7deef5c (patch) | |
tree | 1c06e7c9cd2fcc57f1afefbf318800fccafd2636 | |
parent | a8c7fd59bb08ac9156b110df2710a8dcad8dbec0 (diff) | |
download | unitd-d4ff22c576eff5c362d43036b3788e61b7deef5c.tar unitd-d4ff22c576eff5c362d43036b3788e61b7deef5c.zip |
whitespace fixup
-rw-r--r-- | instance.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -80,6 +80,7 @@ instance_config_parse(struct service_instance *in) blobmsg_parse(instance_attr, __INSTANCE_ATTR_MAX, tb, blobmsg_data(in->config), blobmsg_data_len(in->config)); + if (!tb[INSTANCE_ATTR_COMMAND]) return false; @@ -143,5 +144,3 @@ instance_init(struct service_instance *in, struct blob_attr *config) blobmsg_list_simple_init(&in->data); in->valid = instance_config_parse(in); } - - |