Let config/cinemas/dkdm_recipients take care of their own recovery.
authorCarl Hetherington <cth@carlh.net>
Sun, 4 Sep 2022 19:26:24 +0000 (21:26 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 5 Sep 2022 21:52:03 +0000 (23:52 +0200)
commitb5cd81225e49fc983777dbf15a38e262fb2dd9f6
tree8bff752b3fbb726133dec69f85de3142bd2bb681
parentf5bd787fb71466a6187050086b2890b9b0ac9294
Let config/cinemas/dkdm_recipients take care of their own recovery.

This should mean that if one fails to load, but the others are OK,
we don't re-write everything.  I hope this has no bad side-effects
that I didn't think of.

It's particularly helpful in the case of #2319 where a failure to
load cinemas.xml (which was being created by another tool) caused
the config to be re-written, breaking all existing DKDMs.
src/lib/config.cc
test/config_test.cc