Browse Source

Fix shfmt

pull/3873/head
Marvo2011 3 years ago
parent
commit
ef8cb11707
  1. 1
      dnsapi/dns_selfhost.sh

1
dnsapi/dns_selfhost.sh

@ -30,6 +30,7 @@ dns_selfhost_add() {
_saveaccountconf_mutable SELFHOSTDNS_RID2 "$SELFHOSTDNS_RID2" _saveaccountconf_mutable SELFHOSTDNS_RID2 "$SELFHOSTDNS_RID2"
rid=$(echo "$SELFHOSTDNS_MAP" | grep -Eoi "$domain:(\d+)" | tr -d "$domain:") rid=$(echo "$SELFHOSTDNS_MAP" | grep -Eoi "$domain:(\d+)" | tr -d "$domain:")
if test -z "$rid"; then if test -z "$rid"; then
if [ $SELFHOSTDNS_LAST_SLOT = "2" ]; then if [ $SELFHOSTDNS_LAST_SLOT = "2" ]; then
rid=$SELFHOSTDNS_RID rid=$SELFHOSTDNS_RID

Loading…
Cancel
Save