cli: return the ubus ret code

This commit is contained in:
Felix Fietkau 2011-02-05 00:02:22 +01:00
parent 598c2103ae
commit f0d75430d2

2
cli.c
View file

@ -78,5 +78,5 @@ int main(int argc, char **argv)
fprintf(stderr, "Failed: %s\n", ubus_strerror(ret)); fprintf(stderr, "Failed: %s\n", ubus_strerror(ret));
ubus_free(ctx); ubus_free(ctx);
return 0; return ret;
} }