Rick Macdougall wrote: > I noticed today that clamdscan exits with an exit code of 2 instead of 0 > when it encounters a password protected zip file, even with > ArchiveBlockEncrypted commented out. > > Is this the recommended exit code, or have I encountered a bug ? > > If this is the recommended exit code, where might I find a list of the > exit codes (I've looked through the wiki, pdf documentation and some, > not all, of the course code).
man clamdscan: [snip] RETURN CODES 0 : No virus found. 1 : Virus(es) found. 2 : An error occured. -- René Berber _______________________________________________ http://lurker.clamav.net/list/clamav-users.html