mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Solved bug in device constructor, allows opening some devices in non-administrator mode.
This commit is contained in:
@@ -636,12 +636,10 @@ namespace DiscImageChef.Devices
|
||||
|
||||
if(ataId.HasValue) Serial = ataId.Value.SerialNumber;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
LastError = 0;
|
||||
Error = false;
|
||||
}
|
||||
}
|
||||
|
||||
if(scsiSense && (IsUsb || IsFireWire) || Manufacturer == "ATA")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user