removed forced termination in case that a previous bad termination is detected

this will cause many users to be unsure what to do next an leave them helpless
to simply delete the control file is the same thinig that the user is othervise forced to do

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3885 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 3c19fcf519
commit f64d9f1c6c

@ -255,11 +255,10 @@ public final class yacy {
if (f.exists()) { // another instance running? VM crash? User will have to care about this
serverLog.logSevere("STARTUP", "the file " + f + " exists, this usually means that another instance of YaCy is using this DATA-folder.");
serverLog.logSevere("STARTUP", "please make sure that DATA can be used exclusively by one YaCy. Quitting...");
System.exit(-1);
} else {
f.createNewFile();
f.deleteOnExit();
f.delete();
}
f.createNewFile();
f.deleteOnExit();
/*
// Testing if the yacy archive file were unzipped correctly.

Loading…
Cancel
Save