mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Fix for #20214
When pid file still exists, but process dead it was returning the pid.
This commit is contained in:
parent
cf4449e82e
commit
3f07b09274
@ -856,6 +856,10 @@ namespace
|
||||
{
|
||||
fmt::print("The process with pid = {} is running.\n", pid);
|
||||
}
|
||||
else
|
||||
{
|
||||
pid = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (!pid)
|
||||
|
Loading…
Reference in New Issue
Block a user