dont exit cli when expand gets auth denied from backend

This commit is contained in:
Olof hagsand 2018-06-03 20:18:43 +02:00
parent 7e4e1d6deb
commit 39538461c2
4 changed files with 25 additions and 21 deletions

View file

@ -161,7 +161,7 @@ expand_dbvar(void *h,
goto done;
if ((xerr = xpath_first(xt, "/rpc-error")) != NULL){
clicon_rpc_generate_error("Get configuration", xerr);
goto done;
goto ok;
}
xcur = xt; /* default top-of-tree */
xpathcur = xpath;