aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2018-04-05 10:17:32 -0400
committerJohn Newbery <john@johnnewbery.com>2018-04-07 12:29:48 -0400
commit5c21e6c6d3843232f384079837da1d9fae573b8d (patch)
tree10596bfe565862e054d4a38655c049989f2e41e1 /src/init.cpp
parent2b54155a459c235626fddc4495bb681b93d3dbc5 (diff)
downloadbitcoin-5c21e6c6d3843232f384079837da1d9fae573b8d.tar.xz
[logging] Comment all continuing logs.
Most logs should terminated with a '\n'. Some logs are built up over multiple calls to logPrintf(), so do not need a newline terminater. Comment all of these 'continued' logs as a linter hing.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 4bb2bc2c3e..b1897e0c17 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1215,7 +1215,7 @@ bool AppInitMain()
// Warn about relative -datadir path.
if (gArgs.IsArgSet("-datadir") && !fs::path(gArgs.GetArg("-datadir", "")).is_absolute()) {
- LogPrintf("Warning: relative datadir option '%s' specified, which will be interpreted relative to the "
+ LogPrintf("Warning: relative datadir option '%s' specified, which will be interpreted relative to the " /* Continued */
"current working directory '%s'. This is fragile, because if bitcoin is started in the future "
"from a different location, it will be unable to locate the current data files. There could "
"also be data loss if bitcoin is started while in a temporary directory.\n",