Report [CANCELLED] instead of [DONE] when shut down during txdb upgrade

This commit is contained in:
Jonas Schnelli committed 2017-06-29 17:48:13 +02:00
1 parent 83fbea3f25
commit 542ce6e246
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}