Bash Script Check Environment Variable Is Setting 0