# HG changeset patch # User Olaf Wintermann # Date 1667407995 -3600 # Node ID 62aad4d94d5dadd87ed04304cd8596241d69efcb # Parent 56edda8701e0b3ce62c61065b45e5804fad5d2b3 abort config loading if an unknown webdav backend is specified diff -r 56edda8701e0 -r 62aad4d94d5d src/server/daemon/config.c --- a/src/server/daemon/config.c Wed Nov 02 17:47:39 2022 +0100 +++ b/src/server/daemon/config.c Wed Nov 02 17:53:15 2022 +0100 @@ -804,7 +804,9 @@ if(vfs) { repository->vfs = vfs; repository->vfsInitData = vfs_init_backend(cfg, cfg->pool, vfs, obj, &init_error); - ret = init_error; + if(!ret) { + ret = init_error; + } } else { log_ereport(LOG_FAILURE, "Unknown vfs type '%s'", vfs_class.ptr); ret = 1;