Skip to content

Commit f4e8e2c

Browse files
authored
Added quotes around $password
1 parent fc37379 commit f4e8e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-remote-dns-host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ time_n_date=$(date +'%T %F')
5858
time=$(echo "$time_n_date" |cut -f 1 -d \ )
5959
date=$(echo "$time_n_date" |cut -f 2 -d \ )
6060

61-
if [ -z $password ]; then
61+
if [ -z "$password" ]; then
6262
# Concatentating dns host string
6363
str="HOST='$host' PORT='$port' HASH='$hash'"
6464
str="$str DNS_USER='$dns_user' TYPE='$type' SUSPENDED='no'"

0 commit comments

Comments
 (0)