diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 78b4a005..de707947 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1005,7 +1005,7 @@ LISTCERTS_NPM(){ COPYCERTS_NPM(){ ssldir='/opt/nginx-proxy/ssl' ssls=$(find /opt/nginx-proxy/letsencrypt/live -type d) - ssldirs=$(find ${ssldir} -type l) + ssldirs=$(find ${ssldir}/* -type l) if [ "${1}" = "reset" ]; then echo "Resetting ... Deleting all SSL symlink folders"