mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Ensure images that do not support resume fail instead of overwriting an existing file.
This commit is contained in:
@@ -81,7 +81,7 @@ public sealed partial class DriDiskCopy
|
||||
|
||||
try
|
||||
{
|
||||
_writingStream = new FileStream(path, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None);
|
||||
_writingStream = new FileStream(path, FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None);
|
||||
}
|
||||
catch(IOException ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user