mirror of
https://github.com/ollama/ollama.git
synced 2025-05-23 03:30:06 +02:00
it will always return an error due to Kill() discarding Wait() errors
This commit is contained in:
parent
63c763685f
commit
ba26c7aa00
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user