aboutsummaryrefslogtreecommitdiff
path: root/Emby.IsoMounting/IsoMounter
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.IsoMounting/IsoMounter')
-rw-r--r--Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs
index 611e4263ca..a3ba6f7df8 100644
--- a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs
+++ b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs
@@ -327,7 +327,7 @@ namespace IsoMounter
try
{
- FileSystem.CreateDirectory(mountPoint);
+ Directory.CreateDirectory(mountPoint);
}
catch (UnauthorizedAccessException)
{
@@ -377,7 +377,7 @@ namespace IsoMounter
try
{
- FileSystem.DeleteDirectory(mountPoint, false);
+ Directory.Delete(mountPoint, false);
}
catch (Exception ex)
{
@@ -455,7 +455,7 @@ namespace IsoMounter
try
{
- FileSystem.DeleteDirectory(mount.MountedPath, false);
+ Directory.Delete(mount.MountedPath, false);
}
catch (Exception ex)
{