[clamav-users] freshclam exit codes

Andreas Schulze andreas.schulze at datev.de
Wed Apr 5 01:56:33 EDT 2017

Am 16.02.2017 um 17:29 schrieb Steven Morgan:

> It looks like return code 1 means the virus database is up to date (#define
> FC_UPTODATE 1 from freshclamcodes.h). Please advise if this is incorrect or
> inconsistent. The man page needs to be updated.

I wrote a one line patch to let freshclam behave like documented:
return 0 on updated or up to date custom databases.


A. Schulze

More information about the clamav-users mailing list