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
44dcb0d0
Commit
44dcb0d0
authored
Feb 06, 2019
by
Sebastiaan Hoogeveen
Browse files
Make Travis happy; fixed formatting of return statements.
parent
b3e3e080
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_nederhost.sh
View file @
44dcb0d0
...
@@ -92,10 +92,10 @@ _get_root() {
...
@@ -92,10 +92,10 @@ _get_root() {
if
_nederhost_rest GET
"zones/
${
_domain
}
"
;
then
if
_nederhost_rest GET
"zones/
${
_domain
}
"
;
then
if
[
"
${
_code
}
"
=
"204"
]
;
then
if
[
"
${
_code
}
"
=
"204"
]
;
then
return
0
;
return
0
fi
fi
else
else
return
1
;
return
1
fi
fi
p
=
$i
p
=
$i
i
=
$(
_math
"
$i
"
+ 1
)
i
=
$(
_math
"
$i
"
+ 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