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
289f79bb
Commit
289f79bb
authored
Jan 16, 2021
by
neil
Browse files
fix format
parent
768e9f4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_ispconfig.sh
View file @
289f79bb
...
...
@@ -130,11 +130,11 @@ _ISPC_getZoneInfo() {
client_id
=
$(
echo
"
${
curResult
}
"
| _egrep_o
"response.*"
|
cut
-d
':'
-f
2 |
cut
-d
'"'
-f
2 |
tr
-d
'{}'
)
_debug
"Client ID: '
${
client_id
}
'"
case
"
${
client_id
}
"
in
''
|
*
[!
0-9]
*
)
''
|
*
[!
0-9]
*
)
_err
"Client ID is not numeric."
return
1
;;
*
)
_info
"Retrieved Client ID."
;;
*
)
_info
"Retrieved Client ID."
;;
esac
}
...
...
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