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
0c768905
Commit
0c768905
authored
Nov 08, 2019
by
Jesai Langenbach
Browse files
whitespace fix
parent
18fc42e6
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_opnsense.sh
View file @
0c768905
...
...
@@ -232,7 +232,7 @@ _opns_check_auth() {
_saveaccountconf_mutable OPNs_Host
"
$OPNs_Host
"
fi
if
!
printf
'%s'
"
$OPNs_Port
"
|
grep
'^[0-9]*$'
>
/dev/null
;
then
if
!
printf
'%s'
"
$OPNs_Port
"
|
grep
'^[0-9]*$'
>
/dev/null
;
then
_err
'OPNs_Port specified but not numeric value'
return
1
elif
[
-z
"
$OPNs_Port
"
]
;
then
...
...
@@ -241,7 +241,7 @@ _opns_check_auth() {
_saveaccountconf_mutable OPNs_Port
"
$OPNs_Port
"
fi
if
!
printf
'%s'
"
$OPNs_Api_Insecure
"
|
grep
'^[01]$'
>
/dev/null
;
then
if
!
printf
'%s'
"
$OPNs_Api_Insecure
"
|
grep
'^[01]$'
>
/dev/null
;
then
_err
'OPNs_Api_Insecure specified but not 0/1 value'
return
1
elif
[
-n
"
$OPNs_Api_Insecure
"
]
;
then
...
...
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