projects
/
oweals
/
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 54db4a224738341a3a69b2be78547fd41838b01b..c0521faaa284046dd4fdae316faa9ae891480b0e 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
;
}