summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-23 11:11:26 -0600
committerJeff Carr <[email protected]>2024-02-23 11:11:26 -0600
commitdb83cb7fb9caa951e643d32cf475504082fed641 (patch)
treef52cd9fcc5d01b14ae029fef15aedc0e831b9708
parent6b7ab8a752e97f855d2f4201959162356e3ba388 (diff)
-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" {