updated replace original to fail if fails to replace the original

This commit is contained in:
reven
2022-02-03 16:53:33 +13:00
parent 81c9944c10
commit dc734ec7c7

View File

@@ -39,7 +39,7 @@
if(args.MoveFile(dest) == false)
{
args.Logger?.ELog("Failed to move file to: " + dest);
return 1;
return -1;
}
if (dest.ToLower() != args.FileName.ToLower())
{