Fix shfmt

This commit is contained in:
Marvo2011 2022-02-17 19:30:56 +01:00
parent 9470850258
commit ac0dd90c37

View File

@ -29,7 +29,8 @@ dns_selfhost_add() {
_saveaccountconf_mutable SELFHOSTDNS_RID "$SELFHOSTDNS_RID" _saveaccountconf_mutable SELFHOSTDNS_RID "$SELFHOSTDNS_RID"
_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