summaryrefslogtreecommitdiff
path: root/configfile.go
diff options
context:
space:
mode:
Diffstat (limited to 'configfile.go')
-rw-r--r--configfile.go4
1 files changed, 2 insertions, 2 deletions
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" {