projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubus: fix ubus error code on reload failure
[project/netifd.git]
/
ubus.c
diff --git
a/ubus.c
b/ubus.c
index
bf72672
..
ebf9891
100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-45,7
+45,7
@@
netifd_handle_reload(struct ubus_context *ctx, struct ubus_object *obj,
struct blob_attr *msg)
{
if (netifd_reload())
- return UBUS_STATUS_
UNKNOWN_ERROR
;
+ return UBUS_STATUS_
NOT_FOUND
;
return UBUS_STATUS_OK;
}