aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-03-26 14:33:02 -0600
committerGitHub <noreply@github.com>2022-03-26 14:33:02 -0600
commit130c935bc39a584471c828ed6e1a71dae999e6fd (patch)
tree28730afe973b3201f4901619b4baeae5299a2357 /Jellyfin.Server/Program.cs
parent003c48e3511e27b17831ccdc9a1462e9e85370c7 (diff)
parentac33adf2197773777e5decacc822c7efb9f26b2c (diff)
Merge pull request #7495 from crobibero/fix-entrypoint
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index d699102ff..1323d8a48 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -687,10 +687,12 @@ namespace Jellyfin.Server
if (!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)
{