]> git.ipfire.org Git - thirdparty/systemd.git/commit
find-esp: use path_prefix_root_cwd() 27199/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 10 Apr 2023 19:57:34 +0000 (04:57 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 10 Apr 2023 21:27:11 +0000 (06:27 +0900)
commitfb4d9bf47fcc647c3b43f0b61c6bcf0424397f03
tree38dc050e14d810850830caea3e0c820af9a96b56
parent75cc8d7c42ad2ad9b793bbdd96302a04e5d40a65
find-esp: use path_prefix_root_cwd()

Unlikely, but even if find_esp() or friends called with unnormalized or
relative 'root', let's make the result path normalized and absolute.

Note, before 63105f33edad423691e2d53bf7071f99c83799ba, these functions
returned an absolute and normalized path. But the commit made the result
path simply concatenated with root.

Follow-up for 63105f33edad423691e2d53bf7071f99c83799ba.
src/shared/find-esp.c