conf-parser: only read the first found main config file
authorMike Yuan <me@yhndnzj.com>
Wed, 22 Nov 2023 11:04:29 +0000 (19:04 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 22 Nov 2023 17:44:54 +0000 (17:44 +0000)
commit0ca66adfcc47c34b61331ea1cdea90435f9f92f1
tree78e6bf0d6141c5623fab97beadf4798aa6169563
parent40e1100283fca9359f7dfb8cb97a92dc02c30994
conf-parser: only read the first found main config file

Follow-up for 93f1da45566d064f4f053b37bbac2813631f58b1
and 8ea288db018c7dfe0016d51d4538539bab4ab6de

Before the offending commits, we only read the first found
main config file. If the main config file is symlinked to/as
a drop-in, we should break instead of continuing, for it to
be read later.
src/shared/conf-parser.c