I have recently upgraded an install from 0.95.3 to 0.96 and have noticed
a change in the return codes of freshclam.
Taken from the man page of each.
0.95.3:
0 : Database successfully updated.
1 : Database is up-to-date.
0.96:
0 : Database is up-to-date or successfully updated.
I didn't see anything in the ChangeLog pertaining to this change. I
wanted to see if I could gather additional info as to why.
The reason for the question is I had some code which would look at the 0
or 1 return code and perform various functions based on the result. I
think I could now use the --on-update-execute=EXIT_n option, and change
my code to look for the value I specified.
Any additional info which could be provided regarding the change and/or
my possible use of the --on-update-execute=Exit_n option is appreciated.
Also, my apologies that I have not tested a RC prior to this and brought
it to your attention before the final release.
Clay
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml