diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 0764a986..fc7896fd 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1129,7 +1129,7 @@ GUI(){ nginxupdate) echo for nfile in ${NM_NGINXPATH}/sites-enabled/*.conf; do - echo ${nfile%%*.} + echo ${nfile/.conf/} # echo -en "Converting site: ${nfile##*/} ... " # mv -f ${nfile} ${NM_NGINXPATH}/sites-available/${nfile##*/} # ln -s ${NM_NGINXPATH}/sites-available/${nfile##*/} ${nfile}