diff --git a/core/src/main/java/io/xpipe/core/util/XPipeExecTempDirectory.java b/core/src/main/java/io/xpipe/core/util/XPipeExecTempDirectory.java index 7139de647..26973da12 100644 --- a/core/src/main/java/io/xpipe/core/util/XPipeExecTempDirectory.java +++ b/core/src/main/java/io/xpipe/core/util/XPipeExecTempDirectory.java @@ -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)); }