Skip to content

Commit

Permalink
Fix LocalFileSystem on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Thealexbarney committed Dec 18, 2021
1 parent 8ccd4e1 commit 2f8e68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LibHac/FsSystem/LocalFileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public Result Initialize(string rootPath, PathMode pathMode, bool ensurePathExis

if (utf8Path.At(0) == DirectorySeparator && utf8Path.At(1) != DirectorySeparator)
{
rc = pathNormalized.Initialize(utf8Path.Slice(1));
rc = pathNormalized.Initialize(utf8Path);
if (rc.IsFailure()) return rc;
}
else
Expand Down

0 comments on commit 2f8e68e

Please sign in to comment.