mirror of
https://git.proxmox.com/git/mirror_acme.sh
synced 2025-08-10 10:55:28 +00:00
Merge pull request #753 from Neilpang/dev
fix https://github.com/Neilpang/acme.sh/issues/751
This commit is contained in:
commit
7ecabeac97
2
acme.sh
2
acme.sh
@ -340,7 +340,7 @@ _hasfield() {
|
|||||||
_sep=","
|
_sep=","
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in $(echo "$_str" | tr ',' ' '); do
|
for f in $(echo "$_str" | tr "$_sep" ' '); do
|
||||||
if [ "$f" = "$_field" ]; then
|
if [ "$f" = "$_field" ]; then
|
||||||
_debug2 "'$_str' contains '$_field'"
|
_debug2 "'$_str' contains '$_field'"
|
||||||
return 0 #contains ok
|
return 0 #contains ok
|
||||||
|
Loading…
Reference in New Issue
Block a user