From 811bff6db072bf7251c271e4d9109d577ea66a57 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 17 Sep 2016 12:29:50 +0800 Subject: [PATCH] minor, hide debug info --- acme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acme.sh b/acme.sh index 76015113..efd27dbb 100755 --- a/acme.sh +++ b/acme.sh @@ -1172,7 +1172,7 @@ _stopserver(){ _debug2 "Le_HTTPPort" "$Le_HTTPPort" if [ "$Le_HTTPPort" ] ; then - if [ "$DEBUG" ] ; then + if [ "$DEBUG" ] && [ "$DEBUG" -ge "3" ] ; then _get "http://localhost:$Le_HTTPPort" "" 1 else _get "http://localhost:$Le_HTTPPort" "" 1 >/dev/null 2>&1 @@ -1181,7 +1181,7 @@ _stopserver(){ _debug2 "Le_TLSPort" "$Le_TLSPort" if [ "$Le_TLSPort" ] ; then - if [ "$DEBUG" ] ; then + if [ "$DEBUG" ] && [ "$DEBUG" -ge "3" ] ; _get "https://localhost:$Le_TLSPort" "" 1 _get "https://localhost:$Le_TLSPort" "" 1 else