Update check_hardware.pl

minor change