From 0ab7a052b4481f7cee9a0cad129806052c1812f4 Mon Sep 17 00:00:00 2001 From: Christian Ege Date: Sat, 13 Apr 2024 17:59:09 +0200 Subject: [PATCH] fix: a linter warning about ineffectual assignment Signed-off-by: Christian Ege --- cmd/ovp8xx/cmd/waitforonline.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ovp8xx/cmd/waitforonline.go b/cmd/ovp8xx/cmd/waitforonline.go index 4c39a70..45adb17 100644 --- a/cmd/ovp8xx/cmd/waitforonline.go +++ b/cmd/ovp8xx/cmd/waitforonline.go @@ -1,5 +1,5 @@ /* -Copyright © 2023 Christian Ege +Copyright © 2024 Christian Ege */ package cmd @@ -12,7 +12,7 @@ import ( ) func waitForOnlineCommand(cmd *cobra.Command, args []string) error { - var ok = false + var ok bool var err error helper, err := NewHelper(cmd) if err != nil {