diff options
| author | Cody Robibero <cody@robibe.ro> | 2022-03-26 07:12:35 -0600 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2022-03-26 07:12:35 -0600 |
| commit | 0a068b924f0be67c8f9602288e545e39dce7314c (patch) | |
| tree | e509f3f1850550d70368c9c6cbc35dd5edde94dd /Jellyfin.Server | |
| parent | 52c61bd06f6e3ef0130e7a2d0255feca777a7b3f (diff) | |
Fix casing of chmod
Diffstat (limited to 'Jellyfin.Server')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index 866710155..1e19ecede 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -689,9 +689,9 @@ namespace Jellyfin.Server if (!string.IsNullOrEmpty(socketPerms)) { [DllImport("libc")] - static extern int chmod(string pathname, int mode); + static extern int Chmod(string pathname, int mode); - var exitCode = chmod(socketPath, Convert.ToInt32(socketPerms, 8)); + var exitCode = Chmod(socketPath, Convert.ToInt32(socketPerms, 8)); if (exitCode < 0) { |
