diff --git a/internal/security/config/bootstraphandler.go b/internal/security/config/bootstraphandler.go index a61ad75635..75df73d1d3 100644 --- a/internal/security/config/bootstraphandler.go +++ b/internal/security/config/bootstraphandler.go @@ -72,12 +72,12 @@ func (b *Bootstrap) BootstrapHandler(_ context.Context, _ *sync.WaitGroup, _ sta return false } - exitStatusCode, err := command.Execute() + b.exitStatusCode, err = command.Execute() if err != nil { lc.Error(err.Error()) return false } - b.exitStatusCode = exitStatusCode + return true }