diff --git a/revid/Config.go b/revid/Config.go index 5230b4d4..89b9003c 100644 --- a/revid/Config.go +++ b/revid/Config.go @@ -275,7 +275,7 @@ func (config *Config) Validate(r *revid) error { } } - if config.Rotate = "" { + if config.Rotate == "" { r.Log(Warning, fmt.Sprintf("No rotate defined defaulting to: %v", defaultRotate) ) r.config.Rotate = defaultRotate } else {