Return error if no read command is found to work.

This commit is contained in:
2017-06-03 01:25:13 +01:00
parent 4b2903fab8
commit b79606eb50

View File

@@ -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;
} }