Browse Source

Always attempt delete when proxy_system is enabled

Jaap Marcus 4 years ago
parent
commit
9616fd7bbc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-delete-web-domain

+ 1 - 1
bin/v-delete-web-domain

@@ -90,7 +90,7 @@ fi
 sed -i "/DOMAIN='$domain'/ d" $USER_DATA/web.conf
 sed -i "/DOMAIN='$domain'/ d" $USER_DATA/web.conf
 
 
 # Deleting proxy
 # Deleting proxy
-if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
+if [ ! -z "$PROXY_SYSTEM" ]; then
     del_web_config "$PROXY_SYSTEM" "$PROXY.tpl"
     del_web_config "$PROXY_SYSTEM" "$PROXY.tpl"
     if [ "$SSL" = 'yes' ]; then
     if [ "$SSL" = 'yes' ]; then
         del_web_config "$PROXY_SYSTEM" "$PROXY.stpl"
         del_web_config "$PROXY_SYSTEM" "$PROXY.stpl"