Skip to content

Commit

Permalink
leap file: don't block daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdrichard committed Jun 19, 2024
1 parent a8c3945 commit 898b25e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/daemon/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ func main() {
if err != nil {
glog.Error("failed to initialize Leap manager, ", err)
return
} else {
go lm.Run()
}
go lm.Run()

defer close(lm.Close)
go daemon.New(
Expand Down

0 comments on commit 898b25e

Please sign in to comment.