Merge pull request #27299 from yuwata/chase-absolute

chase: return absolute path when dir_fd points to the root directory
This commit is contained in:
Daan De Meyer
2023-04-20 09:19:22 +02:00
committed by GitHub
11 changed files with 194 additions and 109 deletions
+2 -2
View File
@@ -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;
}