This commit is contained in:
Kevin Altman 2014-10-22 15:30:33 +00:00
commit 881ba42015

View file

@ -71,7 +71,7 @@ wd_add()
if [[ $point =~ "^[\.]+$" ]]
then
wd_print_msg $RED "Warp point cannot be just dots"
elif [[ $point =~ "(\s|\ )+" ]]
elif [[ $point =~ [[:space:]]+ ]]
then
wd_print_msg $RED "Warp point should not contain whitespace"
elif [[ $point == *:* ]]