forked from I2P_Developers/i2p.i2p
prevent log error at shutdown
This commit is contained in:
@@ -81,7 +81,7 @@ class LogWriter implements Runnable {
|
||||
if (_currentOut != null)
|
||||
_currentOut.flush();
|
||||
} catch (IOException ioe) {
|
||||
if (++_diskFullMessageCount < MAX_DISKFULL_MESSAGES)
|
||||
if (_write && ++_diskFullMessageCount < MAX_DISKFULL_MESSAGES)
|
||||
System.err.println("Error writing the router log - disk full? " + ioe);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user