From 53a9e28fafc12e621aff613cdcc61824ef618e53 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Fri, 7 Jul 2023 13:29:53 +0200 Subject: [PATCH] Add missing return in shutdown Co-Authored-By: Jason Signed-off-by: Kristoffer Dalby --- hscontrol/app.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hscontrol/app.go b/hscontrol/app.go index ad0a66fc..bff9b98c 100644 --- a/hscontrol/app.go +++ b/hscontrol/app.go @@ -775,6 +775,8 @@ func (h *Headscale) Serve() error { // And we're done: cancel() + + return } } }