mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-14 13:26:58 +00:00
Fix tempory directory not being cleaned
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user