mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Return error if no read command is found to work.
This commit is contained in:
@@ -191,6 +191,11 @@ namespace DiscImageChef.Core.Devices
|
|||||||
DicConsole.WriteLine("Using ATA READ command with retries (CHS).");
|
DicConsole.WriteLine("Using ATA READ command with retries (CHS).");
|
||||||
else if(ataRead)
|
else if(ataRead)
|
||||||
DicConsole.WriteLine("Using ATA READ command (CHS).");
|
DicConsole.WriteLine("Using ATA READ command (CHS).");
|
||||||
|
else
|
||||||
|
{
|
||||||
|
errorMessage = "Could not get a working read command!";
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user