Browse Source

it will always return an error due to Kill() discarding Wait() errors

Mark Ward 1 năm trước cách đây
mục cha
commit
ba26c7aa00
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      llm/server.go

+ 1 - 3
llm/server.go

@@ -903,9 +903,7 @@ func (s *llmServer) Close() error {
 			return err
 		}
 
-		if err := s.cmd.Wait(); err != nil {
-			return err
-		}
+		_ = s.cmd.Wait()
 
 		slog.Debug("llama server stopped")
 	}