Update dns_nic.sh

pull/4216/head
agdsign 2022-08-07 13:09:59 +03:00 committed by GitHub
parent 8d63357723
commit 4d47988ad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ _nic_get_authtoken() {
_res_arr=$(printf "%s" "$res" | tr -d "\"{}" | tr "," " "); _res_arr=$(printf "%s" "$res" | tr -d "\"{}" | tr "," " ");
for r in $_res_arr; do for r in $_res_arr; do
if [ $(echo $r | grep "access_token") ]; then if [ $(echo "$r" | grep "access_token") ]; then
_auth_token=$(echo $r | sed "s/access_token://") _auth_token=$(echo "$r" | sed "s/access_token://")
fi fi
done done