fix perform-clamav-prescan
This commit is contained in:
parent
cff0a88bf3
commit
ac4acbc5ee
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue