Skip to content

Commit

Permalink
ClamAV scan should be recursive (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich authored Oct 6, 2021
1 parent c8b5ff8 commit c21d76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/clamav_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func init() {
func (c *clamAVEngine) Execute(ctx context.Context, _ *avv1beta1.VirusScan, scanDirs []string) (*ScanReport, error) {
stdout := bytes.Buffer{}

args := []string{"-i", "--no-summary"}
args := []string{"-i", "--no-summary", "--recursive"}
args = append(args, scanDirs...)

tee := io.MultiWriter(&stdout, os.Stdout)
Expand Down

0 comments on commit c21d76f

Please sign in to comment.