Skip to content

The Free Software Media System - Server Backend & API

Fix casing of chmod

Cody Robibero0a068b924f0b
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 8667101559..1e19ecedeb 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)
{