FF-1219 - fixed issue in 7zip if file doesnt exist

This commit is contained in:
John Andrews
2024-01-26 08:07:21 +13:00
parent 054f9609b7
commit fb412ea65d

View File

@@ -147,7 +147,7 @@ public class SevenZip : Node
if (args.FileService.FileExists(args.WorkingFile))
{
args.Logger?.ELog("File does not exist: " + args.WorkingFile);
return 1;
return -1;
}
var result = args.FileService.GetLocalPath(args.WorkingFile);
if (result.IsFailed)