Update pkg/initiate/initiate.go

Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de>
Signed-off-by: DiniFarb <andreas.vogt89@bluewin.ch>
This commit is contained in:
DiniFarb 2024-01-09 12:40:01 +01:00 committed by GitHub
parent 44f4918219
commit 3868c97686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -64,9 +64,7 @@ func init() {
if err != nil {
_ = logger.Error(102, fmt.Sprintf("Failed to start service: %v", err))
}
defer func() {
StopCh <- true
}()
StopCh <- true
}()
}
}