diff --git a/fileboy.go b/fileboy.go index bb57f5c..cb7f90a 100644 --- a/fileboy.go +++ b/fileboy.go @@ -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)