Skip to content

Commit

Permalink
Pass --no-summary to clamscan
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Sep 13, 2024
1 parent e61c6e5 commit 6863729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clamav_client/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def scan(self, filename: str) -> ScanResult:
max_file_size = "--max-filesize=%dM" % self.max_file_size
max_scan_size = "--max-scansize=%dM" % self.max_scan_size
try:
self._call(max_file_size, max_scan_size, filename)
self._call(max_file_size, max_scan_size, "--no-summary", filename)
except CalledProcessError as err:
if err.returncode == 1:
result.update("FOUND", self._parse_found(err.output))
Expand Down

0 comments on commit 6863729

Please sign in to comment.