fix perform-clamav-prescan

This commit is contained in:
Andrea Spacca 2022-01-10 10:56:11 +01:00
parent cff0a88bf3
commit ac4acbc5ee
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")
}