diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c6fc9a49..3b3f7e73 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1004,8 +1004,6 @@ LISTCERTS_NPM(){ } COPYCERTS_NPM(){ ssldir='/opt/nginx-proxy/ssl' - for certdir in /opt/nginx-proxy/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/ssllist - for certdir in ${ssldir}/*/ ; do echo $certdir; done > /tmp/ssldirlist if [ "${1}" = "reset" ]; then echo "Resetting ... Deleting all SSL symlink folders" @@ -1023,19 +1021,16 @@ COPYCERTS_NPM(){ if [ -z $action ] || [ "${action}" = "gui" ]; then DIVIDER true fi - - for certdir in $(