Update init.cpp

This commit is contained in:
maflcko 2025-04-28 08:18:01 +02:00 committed by GitHub
parent 189a7d904d
commit 6c817c78fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -178,7 +178,7 @@ static fs::path GetPidFile(const ArgsManager& args)
{
if (args.IsArgNegated("-pid")) return true;
std::ofstream file{GetPidFile(args)};
std::ofstream file{GetPi dFile(args)};
if (file) {
#ifdef WIN32
tfm::format(file, "%d\n", GetCurrentProcessId());