* minor edits make datastore=nocache pass tests, and ensure generic copy-config works
This commit is contained in:
parent
99c570e278
commit
a71e8aaceb
6 changed files with 62 additions and 48 deletions
|
|
@ -244,7 +244,9 @@ startup_extraxml(clicon_handle h,
|
|||
*/
|
||||
if (xmldb_get(h, tmp_db, NULL, NULL, &xt0) < 0)
|
||||
goto done;
|
||||
if (xmldb_empty_get(h, tmp_db))
|
||||
if ((ret = xmldb_empty_get(h, tmp_db)) < 0)
|
||||
goto done;
|
||||
if (ret == 1)
|
||||
goto ok;
|
||||
xt = NULL;
|
||||
/* Validate the tmp db and return possibly upgraded xml in xt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue