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
e888c965
Unverified
Commit
e888c965
authored
Oct 02, 2022
by
neil
Committed by
GitHub
Oct 02, 2022
Browse files
Merge pull request #4331 from arnebjarne/dns_cpanel_newserial_fix
Dns cpanel newserial fix
parents
59519f04
9feeba8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cpanel.sh
View file @
e888c965
...
...
@@ -139,8 +139,8 @@ _get_root() {
}
_successful_update
()
{
if
(
echo
"
$_result
"
|
grep
-q
'newserial'
)
;
then return
0
;
fi
return
1
if
(
echo
"
$_result
"
|
_egrep_o
'data":\[[^]]*]'
|
grep
-q
'
"
newserial
":null
'
)
;
then return
1
;
fi
return
0
}
_findentry
()
{
...
...
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