This commit is contained in:
Jeff Carr 2024-02-23 11:11:26 -06:00
parent 6b7ab8a752
commit db83cb7fb9
1 changed files with 2 additions and 2 deletions

View File

@ -47,10 +47,10 @@ func (v *RepoList) InitRepoList(cfgfile string) {
case "readonly": case "readonly":
if option[1] == "true" { if option[1] == "true" {
log.Log(REPOWARN, repodir, "setting ReadOnly to true") log.Log(REPOWARN, repodir, "setting ReadOnly to true")
private = true readonly = true
} else { } else {
log.Log(REPOWARN, repodir, "setting ReadOnly to false") log.Log(REPOWARN, repodir, "setting ReadOnly to false")
private = false readonly = false
} }
case "userdir": case "userdir":
if option[1] == "true" { if option[1] == "true" {