Make server sleeping errors a bit more descriptive

This commit is contained in:
timvisee
2021-11-14 12:09:26 +01:00
parent f172587fd5
commit 69812f5b55
3 changed files with 19 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ pub unsafe fn kill_gracefully(pid: u32) -> bool {
let result = libc::kill(pid as i32, libc::SIGTERM);
if result != 0 {
trace!(target: "lazymc", "SIGTERM failed: {}", result);
warn!(target: "lazymc", "Sending SIGTERM signal to server failed: {}", result);
}
result == 0