src/server/daemon/config.c

changeset 409
62aad4d94d5d
parent 393
79e542cc20a9
child 415
d938228c382e
equal deleted inserted replaced
408:56edda8701e0 409:62aad4d94d5d
802 if(vfs_class.length > 0) { 802 if(vfs_class.length > 0) {
803 VfsType *vfs = vfs_get_type((scstr_t){vfs_class.ptr, vfs_class.length}); 803 VfsType *vfs = vfs_get_type((scstr_t){vfs_class.ptr, vfs_class.length});
804 if(vfs) { 804 if(vfs) {
805 repository->vfs = vfs; 805 repository->vfs = vfs;
806 repository->vfsInitData = vfs_init_backend(cfg, cfg->pool, vfs, obj, &init_error); 806 repository->vfsInitData = vfs_init_backend(cfg, cfg->pool, vfs, obj, &init_error);
807 ret = init_error; 807 if(!ret) {
808 ret = init_error;
809 }
808 } else { 810 } else {
809 log_ereport(LOG_FAILURE, "Unknown vfs type '%s'", vfs_class.ptr); 811 log_ereport(LOG_FAILURE, "Unknown vfs type '%s'", vfs_class.ptr);
810 ret = 1; 812 ret = 1;
811 } 813 }
812 } 814 }

mercurial