1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-11 16:33:02 +00:00
neil
2017-03-29 09:16:22 +08:00
parent 58d4c74b0b
commit 6cf7be4b7e
+1 -1
View File
@@ -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