]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Fixed style to match upstream
authorJakub Filo <jakub@plantroon.com>
Wed, 1 May 2019 10:17:54 +0000 (12:17 +0200)
committerJakub Filo <jakub@plantroon.com>
Wed, 1 May 2019 10:17:54 +0000 (12:17 +0200)
dnsapi/dns_nsd.sh

index 2c5b64ce697bf0df0cb4fd28614a110fac765a52..a7416708c944f32968ff6c77514da804a3c42a3e 100644 (file)
@@ -4,8 +4,7 @@
 #Nsd_Command="sudo nsd-control reload"
 
 # args: fulldomain txtvalue
-dns_nsd_add() 
-{
+dns_nsd_add() {
   fulldomain=$1
   txtvalue=$2
   ttlvalue=300
@@ -31,7 +30,7 @@ dns_nsd_add()
   _savedomainconf Nsd_ZoneFile "$Nsd_ZoneFile"
   _savedomainconf Nsd_Command "$Nsd_Command"
 
-  echo "$fulldomain. $ttlvalue IN TXT \"$txtvalue\"" >> "$Nsd_ZoneFile"
+  echo "$fulldomain. $ttlvalue IN TXT \"$txtvalue\"" >>"$Nsd_ZoneFile"
   _info "Added TXT record for $fulldomain"
   _debug "Running $Nsd_Command"
   if eval "$Nsd_Command"; then
@@ -44,8 +43,7 @@ dns_nsd_add()
 }
 
 # args: fulldomain txtvalue
-dns_nsd_rm() 
-{
+dns_nsd_rm() {
   fulldomain=$1
   txtvalue=$2
   ttlvalue=300