修改 进程退出清理日志
This commit is contained in:
@@ -318,7 +318,7 @@ func signalHandler() {
|
||||
<-c
|
||||
if taskMan != nil && taskMan.cmd != nil && taskMan.cmd.Process != nil {
|
||||
if err := taskMan.cmd.Process.Kill(); err != nil {
|
||||
logError("stopping the process failed: PID:", taskMan.cmd.ProcessState.Pid(), ":", err)
|
||||
logWarn("stopping the process failed: PID:", taskMan.cmd.ProcessState.Pid(), ":", err)
|
||||
}
|
||||
}
|
||||
os.Exit(0)
|
||||
|
Reference in New Issue
Block a user