Fix syntax error

This commit is contained in:
sudoers 2019-08-14 17:36:59 +00:00
parent 88aaffb9ca
commit 646ac0235c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ for byod in /home/*/byod; do
fi
else
domainip=$(dig +short a $domain)
if [ "$bestip" == "$domainip"]; then
if [ "$bestip" == "$domainip" ]; then
echo "$domain" > /var/lib/byod/user/$user
echo "$user" > /var/lib/byod/domain/$domain
sed -e "s/<user>/$user/" -e "s/<domain>/$domain/" template.conf \