diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-04-20 09:19:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 09:19:22 +0200 |
commit | 59e4eeed7819c05c57d52e268ab459a00a28ea27 (patch) | |
tree | bd909ec00a3b6798078ce7071465d502e819291f /src/shared | |
parent | 47041a2b91034b5cce19cb87a5c9a43b25691b23 (diff) | |
parent | c19f1cc9a5ef20f37e890df65fb9b8b95a0b18fa (diff) | |
download | systemd-59e4eeed7819c05c57d52e268ab459a00a28ea27.tar.gz |
Merge pull request #27299 from yuwata/chase-absolute
chase: return absolute path when dir_fd points to the root directory
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/find-esp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/find-esp.c b/src/shared/find-esp.c index 6a0002a2bd..c4cf508517 100644 --- a/src/shared/find-esp.c +++ b/src/shared/find-esp.c @@ -540,7 +540,7 @@ int find_esp_and_warn( return r; if (ret_path) { - r = path_prefix_root_cwd(p, root, ret_path); + r = chaseat_prefix_root(p, root, ret_path); if (r < 0) return r; } @@ -859,7 +859,7 @@ int find_xbootldr_and_warn( return r; if (ret_path) { - r = path_prefix_root_cwd(p, root, ret_path); + r = chaseat_prefix_root(p, root, ret_path); if (r < 0) return r; } |