I wrote a little sh shell script that checks for viruses. It uses the return status of clamscan and lets me know if there's a problem, but the return status comes back non-zero if it can't access a file, in which case I don't want to be bothered. My question is, if there's both an error in the scan and also a virus is found, will it still return 1 indicating a virus, or a different error code? I don't want to miss a virus because I'm filtering out errors.
John _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml