SUSE Support

Here When You Need Us

freshclam reports wrong exit status after clamav update

This document (7023378) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)
SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)


After updating to clamav, freshclam reports a wrong exist status after an update without refreshing the patterns:

clamclient:~ # freshclam -v
Current working dir is /var/lib/clamav
Max retries == 3
ClamAV update process started at Wed Sep 26 14:46:50 2018
Using IPv6 aware code
TTL: 931
Software version from DNS: 0.100.1
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.0 Recommended version: 0.100.1
main.cvd version from DNS: 58
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 24983
daily.cld is up to date (version: 24983, sigs: 2100133, f-level: 63, builder: raynman)
bytecode.cvd version from DNS: 327
bytecode.cld is up to date (version: 327, sigs: 91, f-level: 63, builder: neo)
clamclient:~/PTF-2018-Sep-07-09:38:00 # echo $?

According to man (1) freshclam, the exit status should be zero if the database was successfully refreshed or up-to-date.


Please contact SUSE Technical Services for a Program Temporary Fix (PTF).


The issue was introduced unintentionally in the upstream project while changing the return codes for the downloader which in return affected the exit code of freshclam.

Additional Information


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7023378
  • Creation Date: 26-Sep-2018
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.