mirror of https://github.com/snes9xgit/snes9x.git
Remove an improper use of chown.
This commit is contained in:
parent
a3ec0e67a0
commit
dfdf197b27
|
@ -311,12 +311,6 @@ S9xOpenSnapshotFile (const char *fname, bool8 read_only, STREAM *file)
|
|||
{
|
||||
if ((*file = OPEN_STREAM (filename, "wb")))
|
||||
{
|
||||
if (chown (filename, getuid (), getgid ()) < 0)
|
||||
{
|
||||
fprintf (stderr, "Couldn't set ownership of file.\n");
|
||||
return (FALSE);
|
||||
}
|
||||
else
|
||||
return (TRUE);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue