summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-05 00:02:22 +0100
committerFelix Fietkau <nbd@openwrt.org>2011-02-05 00:02:22 +0100
commitf0d75430d26fe8305c2b80f9738923778b3c7415 (patch)
treeed7af6b220b58ed88491915ebb8ee30c250b648e
parent598c2103ae2617e38007e059f673166f7a5bd859 (diff)
downloadubus-f0d75430d26fe8305c2b80f9738923778b3c7415.tar.gz
cli: return the ubus ret code
-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;
}