Author: toad
Date: 2007-12-15 15:15:13 +0000 (Sat, 15 Dec 2007)
New Revision: 16571

Modified:
   trunk/freenet/src/freenet/config/FilePersistentConfig.java
Log:
Attempt to read the temp file if the main file is not readable/is empty.

Modified: trunk/freenet/src/freenet/config/FilePersistentConfig.java
===================================================================
--- trunk/freenet/src/freenet/config/FilePersistentConfig.java  2007-12-15 
14:09:10 UTC (rev 16570)
+++ trunk/freenet/src/freenet/config/FilePersistentConfig.java  2007-12-15 
15:15:13 UTC (rev 16571)
@@ -62,7 +62,6 @@
                        } else {
                                // We probably won't be able to write it either.
                                System.err.println("Cannot read config file 
"+filename);
-                               throw new IOException("Cannot read config 
file");
                        }
                }
                if(tempFilename.exists()) {


Reply via email to