We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5abb5ad commit e14fc99Copy full SHA for e14fc99
modules/nextflow/src/main/groovy/nextflow/processor/TaskProcessor.groovy
@@ -830,7 +830,11 @@ class TaskProcessor {
830
try {
831
if( resumeDir != workDir )
832
exists = workDir.exists()
833
- if( !exists && !workDir.mkdirs() )
+ if( exists ) {
834
+ tries++
835
+ continue
836
+ }
837
+ else if( !workDir.mkdirs() )
838
throw new IOException("Unable to create directory=$workDir -- check file system permissions")
839
}
840
finally {
0 commit comments