ubus: fix ubus error code on reload failure
authorHans Dedecker <dedeckeh@gmail.com>
Sat, 7 Oct 2017 17:46:44 +0000 (19:46 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sat, 7 Oct 2017 17:55:04 +0000 (19:55 +0200)
commitead9789e75824854c2ffab0c68bc0dd4269afc81
treea5829fb07a9e55a190478a99a4336d567ce668c0
parent5df3f01a06b2710a8d8010f353db45b7507b15fb
ubus: fix ubus error code on reload failure

Return the more approriate error code UBUS_STATUS_NOT_FOUND in case
network reload fails

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
ubus.c