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
dbd94d04
Commit
dbd94d04
authored
Nov 24, 2016
by
neilpang
Browse files
fix for aliyun api
parent
be39ab32
Changes
2
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
dbd94d04
...
@@ -90,7 +90,7 @@ _printargs() {
...
@@ -90,7 +90,7 @@ _printargs() {
if
[
-z
"
$2
"
]
;
then
if
[
-z
"
$2
"
]
;
then
printf
--
"[
$(
date
)
]
$1
"
printf
--
"[
$(
date
)
]
$1
"
else
else
printf
--
"[
$(
date
)
]
$1
='
$2
'"
printf
--
"%s"
"[
$(
date
)
]
$1
='
$2
'"
fi
fi
printf
"
\n
"
printf
"
\n
"
}
}
...
...
dnsapi/dns_ali.sh
View file @
dbd94d04
...
@@ -26,6 +26,7 @@ dns_ali_add() {
...
@@ -26,6 +26,7 @@ dns_ali_add() {
return
1
return
1
fi
fi
_debug
"Add record"
_add_record_query
"
$_domain
"
"
$_sub_domain
"
"
$txtvalue
"
&&
_ali_rest
"Add record"
_add_record_query
"
$_domain
"
"
$_sub_domain
"
"
$txtvalue
"
&&
_ali_rest
"Add record"
}
}
...
...
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