diff --git a/libretroshare/src/rsserver/rsinit.cc b/libretroshare/src/rsserver/rsinit.cc index 76d8dd969..b9e46d1d3 100644 --- a/libretroshare/src/rsserver/rsinit.cc +++ b/libretroshare/src/rsserver/rsinit.cc @@ -2261,7 +2261,7 @@ int RsServer::StartupRetroShare() if(!priorGxsDir.empty()) cleanUpGxsDir = RsDirUtil::checkDirectory(priorGxsDir); - std::list filesToKeep; + std::set filesToKeep; bool cleanUpSuccess = RsDirUtil::cleanupDirectory(priorGxsDir, filesToKeep); if(!cleanUpSuccess)