don't delete the file before moving it
This commit is contained in:
@@ -39,7 +39,6 @@ public static class Utils
|
||||
if (triesLeft == 0 && File.Exists(destFileName))
|
||||
{
|
||||
var oldFile = destFileName + ".old";
|
||||
File.Delete(oldFile);
|
||||
File.Move(destFileName, oldFile, true);
|
||||
File.Delete(oldFile);
|
||||
triesLeft++;
|
||||
|
||||
Reference in New Issue
Block a user