Update check_snmp_exec.sh

this script is not compatible with sh .. if you run it with sh you get errors like './check_snmp_exec.sh: 82: ./check_snmp_exec.sh: Bad substitution'

works with bash, though.