removed _inithttp according to Neilpang's comment

This commit is contained in:
hiska 2017-05-08 22:38:00 +09:00 committed by GitHub
parent d5684d2f85
commit 51fc1cc279

View File

@ -69,8 +69,6 @@ dnsever_txt() {
fulldomain="$4" fulldomain="$4"
txt="$5" txt="$5"
_inithttp
response=$(_post "login_id=$login_id&login_password=$login_password" "https://kr.dnsever.com/index.html") response=$(_post "login_id=$login_id&login_password=$login_password" "https://kr.dnsever.com/index.html")
if [ $? != 0 ] || [ -z "$response" ]; then if [ $? != 0 ] || [ -z "$response" ]; then
_err "dnsever_txt:$action ERROR login failed. Please check https://kr.dnsever.com/index.html with login_id=$login_id login_password=$login_password" _err "dnsever_txt:$action ERROR login failed. Please check https://kr.dnsever.com/index.html with login_id=$login_id login_password=$login_password"