Replaced Boost log with Plog. (#124)

This commit is contained in:
priyadharsun
2020-09-23 06:06:42 +05:30
committed by GitHub
parent 37629471c5
commit 91122474a1
27 changed files with 286 additions and 331 deletions

View File

@@ -220,14 +220,14 @@ namespace util
{
if (kill(pid, signal) == -1)
{
LOG_ERR << errno << ": Error issuing signal to pid " << pid;
LOG_ERROR << errno << ": Error issuing signal to pid " << pid;
return -1;
}
const int wait_options = wait ? 0 : WNOHANG;
if (waitpid(pid, NULL, wait_options) == -1)
{
LOG_ERR << errno << ": waitpid after kill failed.";
LOG_ERROR << errno << ": waitpid after kill failed.";
return -1;
}