]> git.ipfire.org Git - thirdparty/systemd.git/commit
path-lookup: Correct order of XDG_CONFIG_HOME and XDG_CONFIG_DIRS
authorPass Automated Testing Suite <Pass-Automated-Testing-Suite@zx2c4.com>
Mon, 28 Sep 2020 15:49:55 +0000 (17:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Sep 2020 19:47:01 +0000 (21:47 +0200)
commite3820eeaf11f3b4614cbdfbc85675bc16a486e21
tree3f55c4a23296fc672b8be02ce210b669a7e45042
parentf856778b9c87d2dc9a6924db0cf26374aa7235c3
path-lookup: Correct order of XDG_CONFIG_HOME and XDG_CONFIG_DIRS

According to the XDG Base Directory Specification [1] XDG_CONFIG_HOME
should take precedence over XDG_CONFIG_DIRS.

Fixes: https://github.com/systemd/systemd/issues/16095
[1]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
man/systemd.unit.xml
src/basic/path-lookup.c