@@ -203,6 +203,9 @@ fi
if [[ ${WIFI_HOTSPOT} != 'no' ]]; then
hotspot_on
+ if [ ! "$?" = "0" ]; then
+ exit "$?"
+ fi
exit 0
else
hotspot_off