Fix tempory directory not being cleaned

This commit is contained in:
crschnick 2023-07-09 12:28:44 +00:00
parent b2d685f523
commit 068e79bbe6

View file

@ -27,7 +27,7 @@ public class XPipeExecTempDirectory {
return dir;
}
var existsCommand = proc.getShellDialect().createFileExistsCommand(proc, dir);
var existsCommand = proc.getShellDialect().directoryExists(proc, dir);
if (existsCommand.executeAndCheck() && !usedSystems.contains(proc.getSystemId())) {
proc.executeSimpleCommand(proc.getShellDialect().getFileDeleteCommand(dir));
}