uci: tighten uci set operation error handling
authorJo-Philipp Wich <jo@mein.io>
Wed, 8 Aug 2018 20:43:57 +0000 (22:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 8 Aug 2018 22:07:27 +0000 (00:07 +0200)
commitc2c612b67ca47d25ac08f3f729da8c8e233d9a4e
treef010b1eab763a9f72dbe4ec6c0d84c4e3fc980db
parent948bb5187523ee596f2de64bd6b94ec9a7f27546
uci: tighten uci set operation error handling

 - Return UBUS_STATUS_NOT_FOUND if no section could be resolved for set
 - Return UBUS_STATUS_INVALID_ARGUMENT if unserializable values are found

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
uci.c