fix perform-clamav-prescan

This commit is contained in:
Andrea Spacca
2022-01-10 10:56:11 +01:00
parent cff0a88bf3
commit ac4acbc5ee

View File

@ -393,7 +393,7 @@ func New() *Cmd {
options = append(options, server.ClamavHost(v)) 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") == "" { if c.String("clamav-host") == "" {
panic("clamav-host not set") panic("clamav-host not set")
} }