mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
Correctly interrogate child process status
This commit is contained in:
committed by
Edward Hennis
parent
27673c1c3f
commit
08e518af73
@@ -78,7 +78,7 @@ bool checkChild(pid_t pid, int options)
|
||||
if (waitpid (pChild, &i, options) == -1)
|
||||
return false;
|
||||
|
||||
return kill (pChild, options) == 0;
|
||||
return kill (pChild, 0) == 0;
|
||||
}
|
||||
|
||||
std::string DoSustain ()
|
||||
|
||||
Reference in New Issue
Block a user