Remove an improper use of chown.

This commit is contained in:
Brandon Wright 2012-04-23 01:40:35 -05:00
parent a3ec0e67a0
commit dfdf197b27
1 changed files with 1 additions and 7 deletions

View File

@ -311,13 +311,7 @@ S9xOpenSnapshotFile (const char *fname, bool8 read_only, STREAM *file)
{ {
if ((*file = OPEN_STREAM (filename, "wb"))) if ((*file = OPEN_STREAM (filename, "wb")))
{ {
if (chown (filename, getuid (), getgid ()) < 0) return (TRUE);
{
fprintf (stderr, "Couldn't set ownership of file.\n");
return (FALSE);
}
else
return (TRUE);
} }
else else
{ {