]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/install.c
conf-files: include root in returned file paths
authorMichael Marineau <michael.marineau@coreos.com>
Fri, 20 Jun 2014 02:07:04 +0000 (19:07 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Jun 2014 04:10:47 +0000 (00:10 -0400)
commitcba2ef02722114da2b730d57f1e3bb43013d8921
treeac9c2f54223fc47fc5a3739a0c2adeb9e4110c51
parent3e8a78c8dceedb001587cb6c1eaa31cb8aa56729
conf-files: include root in returned file paths

This restores the original root handling logic that was present prior to
112cfb18 when path expansion moved to path_strv_canonicalize_absolute.
That behavior partially went away in 12ed81d9.

Alternatively all users of conf_files_list* could be updated to
concatenate the paths themselves as unit_file_query_preset did but since
no user needs the un-concatenated form that is pointless duplication.
src/shared/conf-files.c
src/shared/install.c