it will always return an error due to Kill() discarding Wait() errors
This commit is contained in:
@@ -903,9 +903,7 @@ func (s *llmServer) Close() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := s.cmd.Wait(); err != nil {
|
_ = s.cmd.Wait()
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
slog.Debug("llama server stopped")
|
slog.Debug("llama server stopped")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user