mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Not allow to StatFs an unmounted Xbox FAT filesystem.
This commit is contained in:
@@ -229,9 +229,12 @@ namespace DiscImageChef.Filesystems.FATX
|
||||
|
||||
public Errno StatFs(out FileSystemInfo stat)
|
||||
{
|
||||
stat = null;
|
||||
if(!mounted) return Errno.AccessDenied;
|
||||
|
||||
stat = this.stat;
|
||||
|
||||
return !mounted ? Errno.AccessDenied : Errno.NoError;
|
||||
return Errno.NoError;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user