Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
another bugfix for the windows drive check
det6afeb535cdb3
diff --git a/source/de/anomic/tools/diskUsage.java b/source/de/anomic/tools/diskUsage.javaindex b572db4be..6ce95abaa 100644--- a/source/de/anomic/tools/diskUsage.java+++ b/source/de/anomic/tools/diskUsage.java@@ -364,14 +364,26 @@ nextLine:File file = new File("DATA");String path = null;- try { path = file.getCanonicalPath().toString(); } catch (IOException e) { return; }+ try { path = file.getCanonicalPath().toString(); } catch (IOException e) {+ errorMessage = "Cant get DATA directory";+ usable = false;+ return;+ }if (path.length() < 6)return;int index = -1;- try { index = usedVolumes.indexOf(path.substring(0, 1)); } catch (IndexOutOfBoundsException e) { return; }+ try { index = allVolumes.indexOf(path.substring(0, 1)); } catch (IndexOutOfBoundsException e) {+ errorMessage = "Start volume not found in all volumes";+ usable = false;+ return;+ }if (index > -1)usedVolumes.set(index, true);+ else {+ errorMessage = "No start volume found";+ usable = false;+ }}public void dfWindows () {