diff --git a/source/net/yacy/kelondro/util/FileUtils.java b/source/net/yacy/kelondro/util/FileUtils.java index 17faf2da9..2901b0971 100644 --- a/source/net/yacy/kelondro/util/FileUtils.java +++ b/source/net/yacy/kelondro/util/FileUtils.java @@ -809,6 +809,8 @@ public final class FileUtils { } } + if (path.exists()) path.delete(); + /* int c = 0; while ( c++ < 20 ) { if ( !path.exists() ) { @@ -826,6 +828,7 @@ public final class FileUtils { break; } } + */ if ( path.exists() ) { path.deleteOnExit(); String p = "";