From c1fce6b28b304cba91c97636df8da5c4e243eb97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Jochum?= Date: Sun, 25 Sep 2022 02:43:11 +0200 Subject: [PATCH] Fix nil pointer dereference, pt2 --- components.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components.go b/components.go index 1f33d40..e9557a0 100644 --- a/components.go +++ b/components.go @@ -163,7 +163,7 @@ func (c *Components) Stop() error { // Init them sorted now for _, component := range components { - if c == nil { + if component == nil { continue }