Fix incorrect replacement path

This commit is contained in:
Matt Nadareski
2026-11-03 20:52:14 -05:00
parent 8afc57b709
commit 804f87e1a8

View File

@@ -262,7 +262,7 @@ namespace SabreTools.IO.Extensions
continue;
// Reformat the link target based on relative paths
linkTarget = linkTarget.Replace("/../../", "/dev/");
linkTarget = linkTarget.Replace("../../", "/dev/");
// If the drive does not match
if (!string.Equals(devicePath, linkTarget))