diff --git a/src/dird/dird_conf.c b/src/dird/dird_conf.c index ae9c11f8db6..53143ce028d 100644 --- a/src/dird/dird_conf.c +++ b/src/dird/dird_conf.c @@ -1649,11 +1649,6 @@ void save_resource(int type, RES_ITEM *items, int pass) res->res_pool.storage = res_all.res_pool.storage; if (res_all.res_pool.catalog || !res->res_pool.use_catalog) { res->res_pool.catalog = res_all.res_pool.catalog; - } else { - /* - * No catalog overwrite given use the first catalog definition. - */ - res->res_pool.catalog = (CATRES *)GetNextRes(R_CATALOG, NULL); } break; case R_CONSOLE: