mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 17:15:16 -04:00
fixed re-copy of dht bootstrap file when the file is empty
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5385 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8f27ab280f
commit
570369ad9c
3 changed files with 9 additions and 5 deletions
|
@ -2013,7 +2013,7 @@ int RsServer::StartupRetroShare()
|
|||
* if not... copy from dataDirectory
|
||||
*/
|
||||
|
||||
if (!RsDirUtil::checkFile(bootstrapfile))
|
||||
if (!RsDirUtil::checkFile(bootstrapfile,true))
|
||||
{
|
||||
std::cerr << "DHT bootstrap file not in ConfigDir: " << bootstrapfile << std::endl;
|
||||
std::string installfile = RsInit::getRetroshareDataDirectory();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue