diff --git a/setregdomain b/setregdomain index 5316d03..3e4daf8 100755 --- a/setregdomain +++ b/setregdomain @@ -49,13 +49,13 @@ then ZONE=${ZONE#../usr/share/zoneinfo/} else $LOGGER -s "Timezone information not found! Unable to set regulatory domain." - exit + exit 1 fi if [ -z "$ZONE" ] then $LOGGER -s "Timezone information not set! Unable to set regulatory domain." - exit + exit 1 fi COUNTRY=$(getcountry) @@ -63,7 +63,7 @@ COUNTRY=$(getcountry) if [ -z "$COUNTRY" ] then $LOGGER -s "Could not determine country! Unable to set regulatory domain." - exit + exit 1 fi $LOGGER "setting regulatory domain to $COUNTRY based on timezone ($ZONE)"