diff --git a/configfile.go b/configfile.go index 771c163..a65de5c 100644 --- a/configfile.go +++ b/configfile.go @@ -47,10 +47,10 @@ func (v *RepoList) InitRepoList(cfgfile string) { case "readonly": if option[1] == "true" { log.Log(REPOWARN, repodir, "setting ReadOnly to true") - private = true + readonly = true } else { log.Log(REPOWARN, repodir, "setting ReadOnly to false") - private = false + readonly = false } case "userdir": if option[1] == "true" {