Selaa lähdekoodia

check for nginxless setup

Serghey Rodin 12 vuotta sitten
vanhempi
sitoutus
11c8153a48
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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
 # Proxy templates
+if [ -z "$PROXY_SYSTEM" ]; then
+    exit
+fi
 templates=$(ls -t $WEBTPL/$PROXY_SYSTEM |\
 templates=$(ls -t $WEBTPL/$PROXY_SYSTEM |\
     cut -f1 -d . |\
     cut -f1 -d . |\
     grep -v proxy_ip |\
     grep -v proxy_ip |\