diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2023-02-23 14:58:49 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2023-02-28 12:04:47 -0500 |
commit | c361df90b9fd34e50bbf1db43b866930e5498357 (patch) | |
tree | 1fc1644ce63e47c2531b1007df0f43d1bb5fbe4e /src/shutdown.cpp | |
parent | cb40639bdf04bab31bcdceb3bf941e9bade8317a (diff) |
scripted-diff: Remove double newlines after some init errors
Some InitError calls had trailing \n characters, causing double newlines in
error output. After this change InitError calls consistently output one newline
instead of two. Appearance of messages in the GUI does not seem to be affected.
Can be tested with:
src/bitcoind -regtest -datadir=noexist
src/qt/bitcoin-qt -regtest -datadir=noexist
-BEGIN VERIFY SCRIPT-
git grep -l InitError src/ | xargs sed -i 's/\(InitError(.*\)\\n"/\1"/'
-END VERIFY SCRIPT-
Diffstat (limited to 'src/shutdown.cpp')
0 files changed, 0 insertions, 0 deletions