Merge pull request #199 from Gitju/patch-3

Pid file is litecoind.pid
This commit is contained in:
Adrian Gallagher 2015-06-09 21:36:07 +10:00
commit b7f69edd34

View File

@ -477,7 +477,7 @@ void ReadConfigFile(map<string, string>& mapSettingsRet,
#ifndef WIN32
boost::filesystem::path GetPidFile()
{
boost::filesystem::path pathPidFile(GetArg("-pid", "litecoin.pid"));
boost::filesystem::path pathPidFile(GetArg("-pid", "litecoind.pid"));
if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile;
return pathPidFile;
}