diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-02-05 00:02:22 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-02-05 00:02:22 +0100 |
commit | f0d75430d26fe8305c2b80f9738923778b3c7415 (patch) | |
tree | ed7af6b220b58ed88491915ebb8ee30c250b648e | |
parent | 598c2103ae2617e38007e059f673166f7a5bd859 (diff) | |
download | ubus-f0d75430d26fe8305c2b80f9738923778b3c7415.tar.gz |
cli: return the ubus ret code
-rw-r--r-- | cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |