aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/main.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-11-22 17:59:54 +0100
committerGitHub <[email protected]>2023-11-22 17:59:54 +0100
commit12342f51038dba30ad8b490493596c72d9306994 (patch)
treef86c93fc13f994579d47abc7a599112c0a2f2ea0 /src/zenserver/main.cpp
parentreduce work when there are no blocks to compact (#558) (diff)
downloadzen-12342f51038dba30ad8b490493596c72d9306994.tar.xz
zen-12342f51038dba30ad8b490493596c72d9306994.zip
fix block cloning copy argument validation (#560)
Diffstat (limited to 'src/zenserver/main.cpp')
-rw-r--r--src/zenserver/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp
index 1aa0aa4df..ff4df183e 100644
--- a/src/zenserver/main.cpp
+++ b/src/zenserver/main.cpp
@@ -349,6 +349,7 @@ main(int argc, char* argv[])
if (!ServerOptions.BaseSnapshotDir.empty())
{
+ ZEN_CONSOLE_INFO("copying snapshot from '{}' into '{}", ServerOptions.BaseSnapshotDir, ServerOptions.DataDir);
CopyTree(ServerOptions.BaseSnapshotDir, ServerOptions.DataDir, {.EnableClone = true});
}