cli: return the ubus ret code
This commit is contained in:
parent
598c2103ae
commit
f0d75430d2
1 changed files with 1 additions and 1 deletions
2
cli.c
2
cli.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue