Update sites.inc
This commit is contained in:
1 parent
2393221a5a
commit
2b42029b51
1 file changed
+1
-1
+1
-1
@@ -642,7 +642,7 @@ SITEINFO(){
|
||||
gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled
|
||||
declare -A SITELIST
|
||||
if [ "${gosite}" != "" ]; then
|
||||
if [ ${SEARCH} ! -eq 0 ]; then
|
||||
if ! [[ ${SEARCH} =~ '^[0-9]+$' ]]; then
|
||||
sites=$(find ${gosite}/*${SEARCH,,}*.conf)
|
||||
else
|
||||
sites=$(find ${gosite}/*.conf)
|
||||
|
||||
Reference in new issue
Block a user