Skip to content
Snippets Groups Projects
Commit 4e5407a0 authored by Howard Chu's avatar Howard Chu
Browse files

Check for db_init failures

parent cd23b2dd
No related branches found
No related tags found
No related merge requests found
......@@ -659,9 +659,11 @@ overlay_config( BackendDB *be, const char *ov )
/* Any initialization needed? */
if ( on->on_bi.bi_db_init ) {
int rc;
be->bd_info = (BackendInfo *)on2;
on2->on_bi.bi_db_init( be );
rc = on2->on_bi.bi_db_init( be );
be->bd_info = (BackendInfo *)oi;
if ( rc ) return rc;
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment