make shfmt happy

This commit is contained in:
linux-insideDE 2018-08-21 21:55:44 +02:00 committed by GitHub
parent 840b3a34cb
commit 4fffb3c816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -24,7 +24,8 @@ dns_netcup_add() {
i=$exit
while
[ "$exit" -gt 0 ]; do
[ "$exit" -gt 0 ]
do
tmp=$(echo "$fulldomain" | cut -d'.' -f"$exit")
if [ "$(_math "$i" - "$exit")" -eq 0 ]; then
domain="$tmp"
@ -60,7 +61,8 @@ dns_netcup_rm() {
rec=""
while
[ "$exit" -gt 0 ]; do
[ "$exit" -gt 0 ]
do
tmp=$(echo "$fulldomain" | cut -d'.' -f"$exit")
if [ "$(_math "$i" - "$exit")" -eq 0 ]; then
domain="$tmp"
@ -88,7 +90,8 @@ dns_netcup_rm() {
ids=0000000000
i=1
while
[ "$i" -ne 0 ]; do
[ "$i" -ne 0 ]
do
specrec=$(_getfield "$rec" "$i" ";")
idv="$ida"
ida=$(_getfield "$specrec" "1" "," | sed 's/\"id\":\"//g' | sed 's/\"//g')