Parcourir la source

check for nginxless setup

Serghey Rodin il y a 12 ans
Parent
commit
11c8153a48
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      bin/v-list-web-templates-proxy

+ 3 - 0
bin/v-list-web-templates-proxy

@@ -49,6 +49,9 @@ shell_list_wtpl() {
 #----------------------------------------------------------#
 
 # Proxy templates
+if [ -z "$PROXY_SYSTEM" ]; then
+    exit
+fi
 templates=$(ls -t $WEBTPL/$PROXY_SYSTEM |\
     cut -f1 -d . |\
     grep -v proxy_ip |\