Fix broken condition

This commit is contained in:
Bartłomiej Dach
2022-12-28 22:18:27 +01:00
parent 8d79fa93ac
commit 49b0ec9ddb
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ namespace osu.Game.IO
public static bool CheckAvailability(string testDestinationPath, string testSourcePath)
{
// TODO: Add macOS support for hardlinks.
if (RuntimeInfo.OS != RuntimeInfo.Platform.Windows || RuntimeInfo.OS != RuntimeInfo.Platform.Linux)
if (RuntimeInfo.OS != RuntimeInfo.Platform.Windows && RuntimeInfo.OS != RuntimeInfo.Platform.Linux)
return false;
const string test_filename = "_hard_link_test";