Skip to content

Commit

Permalink
fix perform-clamav-prescan (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
aspacca committed Jan 10, 2022
1 parent cff0a88 commit e3bb499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit e3bb499

Please sign in to comment.