mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-09 16:01:46 +00:00
Fix shellcheck, use double quote
This commit is contained in:
parent
77d606df34
commit
c23c40df8a
@ -29,7 +29,7 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user