Ver código fonte

Get rid of 000000000000000.mcerts junk files.

Adam Ierymenko 12 anos atrás
pai
commit
157aba5c3f
1 arquivos alterados com 1 adições e 1 exclusões
  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 {