Update dns_la.sh

This commit is contained in:
OPPO9008 authored and GitHub committed 2025-07-02 21:15:46 +08:00
1 parent 19678db933
commit 2bea808251
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ dns_la_rm() {
return 0
fi
record_id=$(printf "%s" "$response" | grep '"id":' | head -n1 | sed 's/.*"id": *"\([^"]*\)".*/\1/')
record_id=$(printf "%s" "$response" | grep '"id":' | _head_n 1 | sed 's/.*"id": *"\([^"]*\)".*/\1/')
_debug "record_id" "$record_id"
if [ -z "$record_id" ]; then
_err "Can not get record id to remove."
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.