/SCAN ERROR/ { errors += 1 } END { if (errors >= 1) { exit 2 } }