This commit is contained in:
Andrea Spacca
2021-12-26 16:44:40 +01:00
parent aa59fba247
commit 56c279bf82
2 changed files with 2 additions and 2 deletions

View File

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