Merge pull request #2384 from gmaxwell/trim_error0

Deleting everything except the wallet will not help recover from BDB errors.
This commit is contained in:
Gavin Andresen 2013-03-19 14:20:22 -07:00
commit 8ab14e6976
1 changed files with 1 additions and 3 deletions

View File

@ -612,9 +612,7 @@ bool AppInit2()
if (!bitdb.Open(GetDataDir()))
{
string msg = strprintf(_("Error initializing database environment %s!"
" To recover, BACKUP THAT DIRECTORY, then remove"
" everything from it except for wallet.dat."), strDataDir.c_str());
string msg = strprintf(_("Error initializing wallet database environment %s!"), strDataDir.c_str());
return InitError(msg);
}