Report [CANCELLED] instead of [DONE] when shut down during txdb upgrade
This commit is contained in:
parent
83fbea3f25
commit
542ce6e246
1 changed files with 1 additions and 1 deletions
|
@ -417,6 +417,6 @@ bool CCoinsViewDB::Upgrade() {
|
|||
}
|
||||
db.WriteBatch(batch);
|
||||
uiInterface.SetProgressBreakAction(std::function<void(void)>());
|
||||
LogPrintf("[DONE].\n");
|
||||
LogPrintf("[%s].\n", ShutdownRequested() ? "CANCELLED" : "DONE");
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue