From 11c8153a489f5caa09baf77805d0106d2c17e41a Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 18 Feb 2014 01:04:49 +0200 Subject: [PATCH] check for nginxless setup --- bin/v-list-web-templates-proxy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/v-list-web-templates-proxy b/bin/v-list-web-templates-proxy index 35d4e35d..852fee82 100755 --- a/bin/v-list-web-templates-proxy +++ b/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 |\