diff --git a/inc/certs.inc b/inc/certs.inc index 9c73a9f4..65756eec 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -220,7 +220,7 @@ LISTCERTS(){ i=1 for certdir in ${ssldir[@]}; do - if (( i % 12 == 0 )) || [ $i = 0 ]; then + if (( i % 12 == 0 )) || [ $i = 1 ]; then DIVIDER false yellow 120 echo -e "${lenh}Subject Name Monitored Expires Alternate Subject Names" DIVIDER false yellow 120 diff --git a/inc/sites.inc b/inc/sites.inc index dc537528..0d0ba257 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -658,11 +658,11 @@ SITEINFO(){ sites=$(find ${gosite}/*.conf) fi - i=0 + i=1 for sitefile in ${sites[@]}; do site=${sitefile##*/}; site=${site/.conf/} siteconfig=$(cat ${sitefile}) - if (( i % 12 == 0 )) || [ $i = 0 ]; then + if (( i % 12 == 0 )) || [ $i = 1 ]; then DIVIDER false yellow ${dl} [ ${EDIT} -eq 1 ] && msg1='##) Site Hostname' || msg1='Site Hostname' echo -en "${idsST[Bold]}${idsCL[LightCyan]}"