Hello,

consider this setup. the goal is to run a separate clamav instance using *only* 
our database files
to speedup clamav reload times.

# cat custom-freshclam.conf 
        DatabaseCustomURL http://our.clamav.mirror/local_foo.ndb
        DatabaseDirectory /path/to/custom_clamdir/
        # required but not relevant here
        DatabaseMirror our.clamav.mirror

# freshclam --config-file=/path/to/custom-freshclam.conf --update-db=custom
...

# echo $?
1

unfortunately the exit code is *always* 1 ("man freshclam" doesn't describe 1 
as exit code at all ...)
normaly freshclam return 0 if some files where updated or if all files are 
uptodate.
Am I using freshclam wrongly or should I consider this as a bug ?
( version 0.99.2 )

-- 
A. Schulze
DATEV eG
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to