From 157aba5c3f86d1e385e01a415f081891a0fa12f5 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 17 Sep 2013 16:28:17 -0400 Subject: [PATCH] Get rid of 000000000000000.mcerts junk files. --- node/Network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Network.cpp b/node/Network.cpp index 916a7caf3..455820d98 100644 --- a/node/Network.cpp +++ b/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 {