projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cli: enhance "uci show" command on nonexistent sections and options.
[project/uci.git]
/
cli.c
diff --git
a/cli.c
b/cli.c
index
8f32255
..
b647f77
100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-314,6
+314,7
@@
static int package_cmd(int cmd, char *tuple)
if (!(ptr.flags & UCI_LOOKUP_COMPLETE)) {
ctx->err = UCI_ERR_NOTFOUND;
cli_perror();
+ goto out;
}
switch(e->type) {
case UCI_TYPE_PACKAGE: