diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ca339eeb..4ded2b3d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -580,13 +580,12 @@ NIGHTLYRENEW(){ LISTCERTS(){ if [ ! -z ${LOCAL_SERVICES+x} ]; then NCMD='ssh root@10.5.10.51' - ${NCMD} 'for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done' > /tmp/remotessl - # for line in $( /tmp/ssllist else NCMD='' - for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/remotessl + rm -f /tmp/ssllist + for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/ssllist fi if [ -z $action ] || [ "${action}" = "gui" ]; then DIVIDER true @@ -597,10 +596,7 @@ LISTCERTS(){ echo -e "Subject Name Expires Alternate Subjects" DIVIDER - - - # for certdir in /etc/letsencrypt/live/*/ ; do - for certdir in $(