Commit 7ecabeac authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #753 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/751
parents 5f2e5667 6cf7be4b
......@@ -340,7 +340,7 @@ _hasfield() {
_sep=","
fi
for f in $(echo "$_str" | tr ',' ' '); do
for f in $(echo "$_str" | tr "$_sep" ' '); do
if [ "$f" = "$_field" ]; then
_debug2 "'$_str' contains '$_field'"
return 0 #contains ok
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment