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

This commit is contained in:
Mark Ward 2024-04-29 22:48:14 +00:00
parent 63c763685f
commit ba26c7aa00

View file

@ -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")
}