From bb82f70c5ac0f397d8dda042ff0eec17df90a237 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 29 Jun 2022 16:30:40 +0200 Subject: [PATCH] Try 07 --- pkg/templater/repo-apk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/templater/repo-apk.go b/pkg/templater/repo-apk.go index 6e679e1..2c6b595 100644 --- a/pkg/templater/repo-apk.go +++ b/pkg/templater/repo-apk.go @@ -19,7 +19,7 @@ func (hr *APKRepository) urlIsPresent() (bool, error) { // read the whole file at once b, err := ioutil.ReadFile(APKConfigFile) if err != nil { - return err + return false, err } s := string(b) // //check whether s contains substring text