Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
ba26c7aa
Commit
ba26c7aa
authored
Apr 29, 2024
by
Mark Ward
Browse files
it will always return an error due to Kill() discarding Wait() errors
parent
63c76368
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
llm/server.go
llm/server.go
+1
-3
No files found.
llm/server.go
View file @
ba26c7aa
...
@@ -903,9 +903,7 @@ func (s *llmServer) Close() error {
...
@@ -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"
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment