So if I change the return value to 1:50, it will still work (in theory). According to ESET any value above 100 is a scan failure.
0 - no threat found
1 - threat found and cleaned
10 - some files could not be scanned (may be threats)
50 - threat found
100 - error
*If you receive an error message with an exit code greater than 100, the file was not scanned and thus could be infected.
http://kb.eset.com/esetkb/index?page=content&id=SOLN2285&pmv=print&impressions=false Is it possible to insert text into body of email if scanner fails, as to alert the user?