Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
cb90167c
Unverified
Commit
cb90167c
authored
Dec 21, 2020
by
Lorenz Stechauner
Committed by
GitHub
Dec 21, 2020
Browse files
World4You shellcheck
parent
ac4ae85a
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_world4you.sh
View file @
cb90167c
...
@@ -63,8 +63,8 @@ AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_toke
...
@@ -63,8 +63,8 @@ AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_toke
fi
fi
_err
"Unable to add record:
$msg
"
_err
"Unable to add record:
$msg
"
if
_contains
"
$msg
"
'^<\!DOCTYPE html>'
;
then
if
_contains
"
$msg
"
'^<\!DOCTYPE html>'
;
then
echo
"
$ret
"
>
'error-01.html'
echo
"
$ret
"
>
'error-01.html'
echo
"
$res
"
>
'error-02.html'
echo
"
$res
"
>
'error-02.html'
_err
"View error-01.html and error-02.html for debugging"
_err
"View error-01.html and error-02.html for debugging"
fi
fi
return
1
return
1
...
@@ -131,8 +131,8 @@ DeleteDnsRecordForm[_token]=$form_token"
...
@@ -131,8 +131,8 @@ DeleteDnsRecordForm[_token]=$form_token"
fi
fi
_err
"Unable to remove record:
$msg
"
_err
"Unable to remove record:
$msg
"
if
_contains
"
$msg
"
'^<\!DOCTYPE html>'
;
then
if
_contains
"
$msg
"
'^<\!DOCTYPE html>'
;
then
echo
"
$ret
"
>
'error-01.html'
echo
"
$ret
"
>
'error-01.html'
echo
"
$res
"
>
'error-02.html'
echo
"
$res
"
>
'error-02.html'
_err
"View error-01.html and error-02.html for debugging"
_err
"View error-01.html and error-02.html for debugging"
fi
fi
return
1
return
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment