mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
World4You shellcheck
This commit is contained in:
parent
ac4ae85a4a
commit
cb90167c76
@ -63,8 +63,8 @@ AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_toke
|
|||||||
fi
|
fi
|
||||||
_err "Unable to add record: $msg"
|
_err "Unable to add record: $msg"
|
||||||
if _contains "$msg" '^<\!DOCTYPE html>'; then
|
if _contains "$msg" '^<\!DOCTYPE html>'; then
|
||||||
echo "$ret" > 'error-01.html'
|
echo "$ret" >'error-01.html'
|
||||||
echo "$res" > 'error-02.html'
|
echo "$res" >'error-02.html'
|
||||||
_err "View error-01.html and error-02.html for debugging"
|
_err "View error-01.html and error-02.html for debugging"
|
||||||
fi
|
fi
|
||||||
return 1
|
return 1
|
||||||
@ -131,8 +131,8 @@ DeleteDnsRecordForm[_token]=$form_token"
|
|||||||
fi
|
fi
|
||||||
_err "Unable to remove record: $msg"
|
_err "Unable to remove record: $msg"
|
||||||
if _contains "$msg" '^<\!DOCTYPE html>'; then
|
if _contains "$msg" '^<\!DOCTYPE html>'; then
|
||||||
echo "$ret" > 'error-01.html'
|
echo "$ret" >'error-01.html'
|
||||||
echo "$res" > 'error-02.html'
|
echo "$res" >'error-02.html'
|
||||||
_err "View error-01.html and error-02.html for debugging"
|
_err "View error-01.html and error-02.html for debugging"
|
||||||
fi
|
fi
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user