#
# McAfee
# 

if ($uvscan ne "") {
	$output = `$uvscan $uvscan_args $TEMPDIR/parts`;
	$errval = ($? >> 8);
	do_log(2,$output);
	if ($errval != 0) {
		if ($errval == $uvscan_exitcode) {
			my $loutput = $output;
			$loutput =~ s/Found: (.+) NOT a/Found the $1/g;
			$loutput =~ s/Found the (.+) trojan/Found the $1 virus/g;
			$loutput =~ s/Found virus or variant (.+) /Found the $1 virus/g;
			@virusname = ($loutput =~ /Found the (.+) virus/g);
			do_virus($output);
       	 } else {
			do_log(0,"Virus scanner failure: $uvscan (error code: $errval)");
		}
	}
}
