summaryrefslogtreecommitdiffhomepage
path: root/ubus.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubus.c')
-rw-r--r--ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubus.c b/ubus.c
index bf72672..ebf9891 100644
--- 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;
}