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