Compare commits

...

1 Commits

Author SHA1 Message Date
Andrea Spacca
ac4acbc5ee fix perform-clamav-prescan 2022-01-10 10:56:11 +01:00

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")
}