Browse Source

Get rid of 000000000000000.mcerts junk files.

Adam Ierymenko 12 years ago
parent
commit
157aba5c3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/Network.cpp

+ 1 - 1
node/Network.cpp

@@ -251,7 +251,7 @@ void Network::clean()
 
 	Mutex::Lock _l(_lock);
 
-	if (_configuration.isOpen()) {
+	if ((!_id)||(_configuration.isOpen())) {
 		_membershipCertificates.clear();
 		Utils::rm(mcdbPath);
 	} else {