Skip to content

Commit 2f8e68e

Browse files
committed
Fix LocalFileSystem on Linux
1 parent 8ccd4e1 commit 2f8e68e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/LibHac/FsSystem/LocalFileSystem.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public Result Initialize(string rootPath, PathMode pathMode, bool ensurePathExis
132132

133133
if (utf8Path.At(0) == DirectorySeparator && utf8Path.At(1) != DirectorySeparator)
134134
{
135-
rc = pathNormalized.Initialize(utf8Path.Slice(1));
135+
rc = pathNormalized.Initialize(utf8Path);
136136
if (rc.IsFailure()) return rc;
137137
}
138138
else

0 commit comments

Comments
 (0)