Fixed syntax error

This commit is contained in:
Saxon Milton 2018-05-02 10:05:57 +09:30
parent 9afe4b1334
commit 56c63237dc
1 changed files with 1 additions and 1 deletions

View File

@ -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 {