Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

catch of another IOException

orbiterf663f26cfd75
diff --git a/source/de/anomic/yacy/yacySeedDB.java b/source/de/anomic/yacy/yacySeedDB.java
index 74bb976aa..8ce1549b8 100644
--- a/source/de/anomic/yacy/yacySeedDB.java
+++ b/source/de/anomic/yacy/yacySeedDB.java
@@ -154,6 +154,9 @@ public class yacySeedDB {
} catch (kelondroException e) {
// if we have an error, we start with a fresh database
if (seedDBFile.exists()) seedDBFile.delete();
+ } catch (IOException e) {
+ // if we have an error, we start with a fresh database
+ if (seedDBFile.exists()) seedDBFile.delete();
}
// create new seed database
new File(seedDBFile.getParent()).mkdir();