mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Fix casing of chmod
This commit is contained in:
parent
52c61bd06f
commit
0a068b924f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue