The Free Software Media System - Server Backend & API
Learn how DllImport works before making changes
Cody Robiberoac33adf21977
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.csindex d699102ffc..1323d8a480 100644--- a/Jellyfin.Server/Program.cs+++ b/Jellyfin.Server/Program.cs@@ -687,10 +687,12 @@ namespace Jellyfin.Serverif (!string.IsNullOrEmpty(socketPerms)){+ #pragma warning disable SA1300 // Entrypoint is case sensitive.[DllImport("libc")]- static extern int Chmod(string pathname, int mode);+ static extern int chmod(string pathname, int mode);+ #pragma warning restore SA1300- var exitCode = Chmod(socketPath, Convert.ToInt32(socketPerms, 8));+ var exitCode = chmod(socketPath, Convert.ToInt32(socketPerms, 8));if (exitCode < 0){