mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
Update init.cpp
This commit is contained in:
parent
189a7d904d
commit
6c817c78fa
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ static fs::path GetPidFile(const ArgsManager& args)
|
||||||
{
|
{
|
||||||
if (args.IsArgNegated("-pid")) return true;
|
if (args.IsArgNegated("-pid")) return true;
|
||||||
|
|
||||||
std::ofstream file{GetPidFile(args)};
|
std::ofstream file{GetPi dFile(args)};
|
||||||
if (file) {
|
if (file) {
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
tfm::format(file, "%d\n", GetCurrentProcessId());
|
tfm::format(file, "%d\n", GetCurrentProcessId());
|
||||||
|
|
Loading…
Add table
Reference in a new issue