When pid file still exists, but process dead it was returning the pid.
This commit is contained in:
Mikhail Filimonov 2021-04-23 19:25:30 +02:00
parent cf4449e82e
commit 3f07b09274
No known key found for this signature in database
GPG Key ID: 6E49C2E9AF1220BE

View File

@ -856,6 +856,10 @@ namespace
{
fmt::print("The process with pid = {} is running.\n", pid);
}
else
{
pid = 0;
}
}
if (!pid)