mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update Install.cpp
This commit is contained in:
parent
3f07b09274
commit
d8b57c7d66
@ -856,8 +856,10 @@ namespace
|
||||
{
|
||||
fmt::print("The process with pid = {} is running.\n", pid);
|
||||
}
|
||||
else
|
||||
else if (errno == ESRCH)
|
||||
{
|
||||
// the process does not exists anymore,
|
||||
// and returning pid of dead process has no sense.
|
||||
pid = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user