aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Security/MBLicenseFile.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-05-04 15:05:22 -0400
committerGitHub <noreply@github.com>2017-05-04 15:05:22 -0400
commit6e53aa0e076c2ce2bd7b1a462196b099c77f90e5 (patch)
tree0fb73d80406fffe26b77c40c288389a291ddd3af /Emby.Server.Implementations/Security/MBLicenseFile.cs
parentfb74ee3bb616f7532c79bec0113a14fec3a65be1 (diff)
parent364c8206bf500ac466d5360ddfe01b67fa8b59a9 (diff)
Merge pull request #2613 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Security/MBLicenseFile.cs')
-rw-r--r--Emby.Server.Implementations/Security/MBLicenseFile.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Security/MBLicenseFile.cs b/Emby.Server.Implementations/Security/MBLicenseFile.cs
index c791d6a52..dc0e8b161 100644
--- a/Emby.Server.Implementations/Security/MBLicenseFile.cs
+++ b/Emby.Server.Implementations/Security/MBLicenseFile.cs
@@ -193,7 +193,7 @@ namespace Emby.Server.Implementations.Security
}
var licenseFile = Filename;
- _fileSystem.CreateDirectory(Path.GetDirectoryName(licenseFile));
+ _fileSystem.CreateDirectory(_fileSystem.GetDirectoryName(licenseFile));
lock (_fileLock)
{
_fileSystem.WriteAllLines(licenseFile, lines);