소스 검색

Fix casing of chmod

Cody Robibero 3 년 전
부모
커밋
0a068b924f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Jellyfin.Server/Program.cs

+ 2 - 2
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)
                 {