From f0d75430d26fe8305c2b80f9738923778b3c7415 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 5 Feb 2011 00:02:22 +0100 Subject: [PATCH] cli: return the ubus ret code --- cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }