diff options
| author | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-26 22:08:04 +0100 |
|---|---|---|
| committer | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-28 22:09:56 +0100 |
| commit | d7c6d1625043fb69a90e7ccb24fc31a912c8a2d3 (patch) | |
| tree | 516b929007f1539c1e1a8ad8cce3f1775c127380 /Emby.IsoMounting | |
| parent | 3a831994f69bbde699a1a725b57d8fd1d7e98641 (diff) | |
Unwrapped CreateDirectory and DeleteDirectory
Diffstat (limited to 'Emby.IsoMounting')
| -rw-r--r-- | Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs index 611e4263c..a3ba6f7df 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) { |
