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 |\