mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 12:14:23 +08:00
Formatting
using shfmt to format the code
This commit is contained in:
@@ -90,11 +90,11 @@ _get_root() {
|
||||
response="$(_get "$NANELO_API$NANELO_TOKEN/dns/getzones")" || return 1
|
||||
|
||||
# Extract "zones" array into space-separated list
|
||||
zones=$(echo "$response" \
|
||||
| tr -d ' \n' \
|
||||
| sed -n 's/.*"zones":\[\([^]]*\)\].*/\1/p' \
|
||||
| tr -d '"' \
|
||||
| tr , ' ')
|
||||
zones=$(echo "$response" |
|
||||
tr -d ' \n' |
|
||||
sed -n 's/.*"zones":\[\([^]]*\)\].*/\1/p' |
|
||||
tr -d '"' |
|
||||
tr , ' ')
|
||||
_debug zones "$zones"
|
||||
|
||||
bestzone=""
|
||||
|
||||
Reference in New Issue
Block a user