1
0
mirror of https://github.com/serghey-rodin/vesta.git synced 2025-03-12 04:36:25 -07:00

Fix duplicated DNS records in DNS cluster

This commit is contained in:
Made I.T 2020-12-10 12:13:46 +01:00 committed by GitHub
parent 1b85b7b313
commit bba7400b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ if [ "$flush" = 'records' ]; then
fi
# Flush domain
if [ "$flush" ! = 'no' ]; then
if [ "$flush" != 'no' ]; then
sed -i "/DOMAIN='$DOMAIN'/d" $USER_DATA/dns.conf 2> /dev/null
fi