aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-06-28 21:28:11 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2017-06-29 17:48:13 +0200
commit542ce6e24631a22451fabdb85d545add4024f553 (patch)
tree6e934feba4033c4dc4e5c5a80b065373f5f42abf /src
parent83fbea3f25558fa6c72f2100d203b95b4030573e (diff)
Report [CANCELLED] instead of [DONE] when shut down during txdb upgrade
Diffstat (limited to 'src')
-rw-r--r--src/txdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp
index c62f51cfce..002f6550bc 100644
--- a/src/txdb.cpp
+++ b/src/txdb.cpp
@@ -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;
}