World4You using ggrep more often

This commit is contained in:
Lorenz Stechauner committed 2020-11-29 11:48:08 +01:00
1 parent 5cfe5e312b
commit a0edb8f2ad
1 file changed
+2 -4
+2 -4
View File
@@ -56,8 +56,7 @@ AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_toke
_ACME_CURL="$_ORIG_ACME_CURL"
success=$(grep '302\|200' <"$HTTP_HEADER")
if [ "$success" ]; then
if _ggrep -q '302\|200' <"$HTTP_HEADER"; then
return 0
else
_err "$(head -n 1 <"$HTTP_HEADER")"
@@ -116,8 +115,7 @@ DeleteDnsRecordForm[_token]=$form_token"
_ACME_CURL="$_ORIG_ACME_CURL"
success=$(grep '302\|200' <"$HTTP_HEADER")
if [ "$success" ]; then
if _ggrep -q '302\|200' <"$HTTP_HEADER"; then
return 0
else
_err "$(head -n 1 <"$HTTP_HEADER")"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.