VFS: minor change in handling /host_root path
This commit is contained in:
+2
-2
@@ -237,9 +237,9 @@ std::string vfs::get(std::string_view vpath, std::vector<std::string>* out_dir,
|
||||
|
||||
if (dir.second.path == "/"sv)
|
||||
{
|
||||
if (vpath.empty())
|
||||
if (vpath.size() <= 1)
|
||||
{
|
||||
return {};
|
||||
return fs::get_config_dir() + "delete_this_dir.../delete_this...";
|
||||
}
|
||||
|
||||
// Handle /host_root (not escaped, not processed)
|
||||
|
||||
Reference in New Issue
Block a user