relayd: fix making incomplete instance json data
authorYousong Zhou <yszhou4tech@gmail.com>
Sat, 25 Feb 2017 12:07:27 +0000 (20:07 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Sun, 26 Feb 2017 06:38:25 +0000 (14:38 +0800)
commitef5cb964b170d369e971371fe4644d17cf1b3c60
treedce345a4c6a5bcdb669656e8024f37a464c6aeea
parent77fb98ee41930d96e3c5a6bdb9341df20ae3afcb
relayd: fix making incomplete instance json data

Defer procd_open_instance only after validity check passed.

Fixes FS#541

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
package/network/services/relayd/Makefile
package/network/services/relayd/files/relay.init