mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-19 21:01:45 +00:00
World4You Shellcheck
This commit is contained in:
parent
2e15371d61
commit
42583cf3bb
@ -171,7 +171,7 @@ _get_paketnr() {
|
|||||||
domains=$(echo "$form" | _ggrep -E '^\s*([A-Za-z0-9_-]+\.)+[A-Za-z0-9_-]*$' | sed 's/^\s*\(\S*\)$/\1/')
|
domains=$(echo "$form" | _ggrep -E '^\s*([A-Za-z0-9_-]+\.)+[A-Za-z0-9_-]*$' | sed 's/^\s*\(\S*\)$/\1/')
|
||||||
domain=''
|
domain=''
|
||||||
for domain in $domains; do
|
for domain in $domains; do
|
||||||
if [ $(echo "$domain" | grep "$tld\$") ]; then
|
if [ "$(echo "$domain" | grep -q "$tld\$")" ]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user