mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use error number for device instead of exception.
This commit is contained in:
@@ -39,7 +39,7 @@ static partial class MainClass
|
||||
AaruConsole.WriteLine("Going to open {0}. Press any key to continue...", devPath);
|
||||
Console.ReadKey();
|
||||
|
||||
var dev = Aaru.Devices.Device.Create(devPath);
|
||||
var dev = Aaru.Devices.Device.Create(devPath, out _);
|
||||
|
||||
while(true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user