summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index 54db4a2..c0521fa 100644
--- a/cli.c
+++ b/cli.c
@@ -78,5 +78,5 @@ int main(int argc, char **argv)
fprintf(stderr, "Failed: %s\n", ubus_strerror(ret));
ubus_free(ctx);
- return 0;
+ return ret;
}