Added check return code for shallow_flash.sh

fix #215