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