summaryrefslogtreecommitdiff
path: root/lib/server/ServerControl.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/server/ServerControl.h')
-rw-r--r--lib/server/ServerControl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/server/ServerControl.h b/lib/server/ServerControl.h
index ce5620c2..771f88fb 100644
--- a/lib/server/ServerControl.h
+++ b/lib/server/ServerControl.h
@@ -142,8 +142,7 @@ inline bool KillServerInternal(int pid)
bool killed = (::kill(pid, SIGTERM) == 0);
if (!killed)
{
- BOX_ERROR("Failed to kill process " << pid << ": " <<
- strerror(errno));
+ BOX_LOG_SYS_ERROR("Failed to kill process " << pid);
}
TEST_THAT(killed);
return killed;