mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Fix tempory directory not being cleaned
This commit is contained in:
parent
b2d685f523
commit
068e79bbe6
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue