aboutsummaryrefslogtreecommitdiff
path: root/Emby.IsoMounting
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-26 21:47:11 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-28 22:06:34 +0100
commit3a831994f69bbde699a1a725b57d8fd1d7e98641 (patch)
tree2636e4575117c6cc90ad3b57ff4ce02f63fae3ba /Emby.IsoMounting
parenta05d803d4c188e3bc6ae22e5be907f74eec271bf (diff)
Unwrapped GetDirectoryName and DirectorySeperatorChar
Diffstat (limited to 'Emby.IsoMounting')
-rw-r--r--Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs
index ac486f167..611e4263c 100644
--- a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs
+++ b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs
@@ -39,7 +39,7 @@ namespace IsoMounter
_logger = logger;
ProcessFactory = processFactory;
- MountPointRoot = FileSystem.DirectorySeparatorChar + "tmp" + FileSystem.DirectorySeparatorChar + "Emby";
+ MountPointRoot = Path.DirectorySeparatorChar + "tmp" + Path.DirectorySeparatorChar + "Emby";
_logger.LogDebug(
"[{0}] System PATH is currently set to [{1}].",
@@ -216,7 +216,7 @@ namespace IsoMounter
if (!string.IsNullOrEmpty(path) && FileSystem.FileExists(path = Path.Combine(path, name)))
{
- return FileSystem.GetFullPath(path);
+ return Path.GetFullPath(path);
}
}