2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-08-31 14:25:37 +00:00

minor, hide debug info

This commit is contained in:
neil
2016-09-17 12:29:50 +08:00
parent 0c9546ccb0
commit 811bff6db0

View File

@@ -1172,7 +1172,7 @@ _stopserver(){
_debug2 "Le_HTTPPort" "$Le_HTTPPort" _debug2 "Le_HTTPPort" "$Le_HTTPPort"
if [ "$Le_HTTPPort" ] ; then if [ "$Le_HTTPPort" ] ; then
if [ "$DEBUG" ] ; then if [ "$DEBUG" ] && [ "$DEBUG" -ge "3" ] ; then
_get "http://localhost:$Le_HTTPPort" "" 1 _get "http://localhost:$Le_HTTPPort" "" 1
else else
_get "http://localhost:$Le_HTTPPort" "" 1 >/dev/null 2>&1 _get "http://localhost:$Le_HTTPPort" "" 1 >/dev/null 2>&1
@@ -1181,7 +1181,7 @@ _stopserver(){
_debug2 "Le_TLSPort" "$Le_TLSPort" _debug2 "Le_TLSPort" "$Le_TLSPort"
if [ "$Le_TLSPort" ] ; then if [ "$Le_TLSPort" ] ; then
if [ "$DEBUG" ] ; then if [ "$DEBUG" ] && [ "$DEBUG" -ge "3" ] ;
_get "https://localhost:$Le_TLSPort" "" 1 _get "https://localhost:$Le_TLSPort" "" 1
_get "https://localhost:$Le_TLSPort" "" 1 _get "https://localhost:$Le_TLSPort" "" 1
else else