From 1c5066b2c81e579719788e3655d4f26a78aee93b Mon Sep 17 00:00:00 2001 From: xiongguangjie Date: Sat, 9 Sep 2023 00:35:31 +0800 Subject: [PATCH] SIGTERM exit print --- server/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.cpp b/server/main.cpp index 737f3559..70b6348f 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -421,7 +421,7 @@ int start_main(int argc,char *argv[]) { }); // 设置退出信号 signal(SIGTERM,[](int) { - WarnL << "SIGINT:exit"; + WarnL << "SIGTERM:exit"; signal(SIGTERM, SIG_IGN); sem.post(); });