Browse Source

Double quotes

Bob Mottram 9 years ago
parent
commit
2e93641f17
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-config

+ 1
- 1
src/freedombone-config View File

146
     FREEDNS_MESSAGE=$"Please enter the FreeDNS code for this domain.\n\nThe code can be found by going to https://freedns.afraid.org, selecting 'Dynamic DNS' and then opening 'Wget example'. The code will consist of letters and numbers and be between the ? and = characters."
146
     FREEDNS_MESSAGE=$"Please enter the FreeDNS code for this domain.\n\nThe code can be found by going to https://freedns.afraid.org, selecting 'Dynamic DNS' and then opening 'Wget example'. The code will consist of letters and numbers and be between the ? and = characters."
147
 
147
 
148
     if [[ "$freedns_code" == *"."* || "$freedns_code" == "http"* || "$freedns_code" == *"wget "* || "$freedns_code" == *" "* ]]; then
148
     if [[ "$freedns_code" == *"."* || "$freedns_code" == "http"* || "$freedns_code" == *"wget "* || "$freedns_code" == *" "* ]]; then
149
-        dialog --title $"Invalid FreeDNS Code" --msgbox $'$FREEDNS_MESSAGE' 10 70
149
+        dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70
150
         VALID_CODE=
150
         VALID_CODE=
151
     fi
151
     fi
152
     if [ ${#freedns_code} -lt 30 ]; then
152
     if [ ${#freedns_code} -lt 30 ]; then