CLI pipe changes: added arg to tail, exit on error.
This commit is contained in:
parent
7352894c7e
commit
2bcd429bee
4 changed files with 44 additions and 9 deletions
|
|
@ -1145,8 +1145,8 @@ yang2cli_uses(clicon_handle h,
|
|||
if (ys_grouping_resolve(ys, prefix, id, &ygrouping) < 0)
|
||||
goto done;
|
||||
if (ygrouping == NULL){
|
||||
fprintf(stderr, "%s grouping %s not found\n", __FUNCTION__, id);
|
||||
goto ok;
|
||||
clicon_err(OE_YANG, 0, "grouping %s not found in \n", yang_argument_get(ys));
|
||||
goto done;
|
||||
}
|
||||
if ((cbtree = cbuf_new()) == NULL){
|
||||
clicon_err(OE_XML, errno, "cbuf_new");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue