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