fix perform-clamav-prescan (#460)

This commit is contained in:
Andrea Spacca 2022-01-10 11:01:26 +01:00 committed by GitHub
parent cff0a88bf3
commit e3bb49993c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ func New() *Cmd {
options = append(options, server.ClamavHost(v))
}
if v := c.Bool("perform-clamav-prescan"); !v {
if v := c.Bool("perform-clamav-prescan"); v {
if c.String("clamav-host") == "" {
panic("clamav-host not set")
}