Updated ap-sensor.sh

removed exit.