Skip to content

Commit

Permalink
don't panic when ocis is dead
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <jkoberg@owncloud.com>
  • Loading branch information
kobergj committed Sep 21, 2023
1 parent 80b439c commit e4b455d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ociswrapper/ocis/ocis.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ func Start(envMap map[string]any) {
func Stop() {
err := cmd.Process.Kill()
if err != nil {
log.Panic(err)
log.Println("ocis already dead")
return
}
cmd.Wait()
}
Expand Down

0 comments on commit e4b455d

Please sign in to comment.