Explorar o código

Fix duplicated DNS records in DNS cluster

Made I.T %!s(int64=5) %!d(string=hai) anos
pai
achega
bba7400b8a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/v-insert-dns-domain

+ 1 - 1
bin/v-insert-dns-domain

@@ -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