Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
a1c4d159
Commit
a1c4d159
authored
Mar 21, 2020
by
ThiloGa
Browse files
further shellcheck fixes
parent
598f29b7
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_nm.sh
View file @
a1c4d159
...
...
@@ -44,7 +44,6 @@ dns_nm_add() {
get
=
"
$namemaster_api
?User=
$NM_user
&Password=
$NM_sha256
&Antwort=csv&Typ=ACME&zone=
$zone
&hostname=
$fulldomain
&TXT=
$txt_value
&Action=Auto&Lifetime=3600"
if
!
erg
=
"
$(
_get
"
$get
"
)
"
;
then
_err
"error Adding
$fulldomain
TXT:
$txt_value
"
return
1
...
...
@@ -105,8 +104,7 @@ _get_root() {
_err
"error getting Zone"
return
1
else
if
_contains
"
$zone
"
"hostname not found"
then
if
_contains
"
$zone
"
"hostname not found"
;
then
return
1
fi
fi
...
...
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