remove pidfile on shutdown

This commit is contained in:
acetone
2026-07-27 21:14:07 +03:00
parent 672f9c0197
commit b6362f6225
+1 -1
View File
@@ -148,7 +148,7 @@ namespace i2p
// Pidfile
// this code is c-styled and a bit ugly, but we need fd for locking pidfile
std::string pidfile; i2p::config::GetOption("pidfile", pidfile);
i2p::config::GetOption("pidfile", pidfile);
if (pidfile == "") {
pidfile = i2p::fs::DataDirPath("i2pd.pid");
}