FF-1623: Calling output 2 if file in root

This commit is contained in:
John Andrews
2024-06-20 08:04:35 +12:00
parent 4b8afa0ff9
commit 0a313f42a0

View File

@@ -70,7 +70,7 @@ public class DeleteSourceDirectory : Node
if (pathIndex < 0)
{
args.Logger?.ILog("File is in library root, will not delete");
return 1;
return 2;
}
topdir = args.RelativeFile[..pathIndex];