projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
598c210
)
cli: return the ubus ret code
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 4 Feb 2011 23:02:22 +0000
(
00:02
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 4 Feb 2011 23:02:22 +0000
(
00:02
+0100)
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index
54db4a2
..
c0521fa
100644
(file)
--- 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
;
}