code lengths

This commit is contained in:
Bob Mottram 2016-12-04 13:37:42 +00:00
parent 80b87cce80
commit bbb32e867b
2 changed files with 2 additions and 2 deletions

View File

@ -758,7 +758,7 @@ function validate_freedns_code {
dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70 dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70
VALID_CODE= VALID_CODE=
fi fi
if [ ${#freedns_code} -lt 30 ]; then if [ ${#freedns_code} -lt 25 ]; then
dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70 dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70
VALID_CODE= VALID_CODE=
fi fi

View File

@ -53,7 +53,7 @@ function validate_freedns_code {
dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70 dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70
VALID_CODE= VALID_CODE=
fi fi
if [ ${#freedns_code} -lt 30 ]; then if [ ${#freedns_code} -lt 25 ]; then
dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70 dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70
VALID_CODE= VALID_CODE=
fi fi