]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/configs: simplify merge error checking
authorKarel Zak <kzak@redhat.com>
Wed, 15 Oct 2025 13:18:05 +0000 (15:18 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 15 Oct 2025 13:18:05 +0000 (15:18 +0200)
commit7609cb258d4975e49b020860f8ebba6feb5f2354
tree584543ae3cd36a86b66622838d244089888f5648
parentdad16046185ab4d1d6e2603919acc7b67e6f032e
lib/configs: simplify merge error checking

Combine the three config_merge_list() calls into a single
conditional statement to reduce repetitive error checking.
The calls are short-circuited on first failure.

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/configs.c