File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ is_object_unsuspended 'user' 'USER' "$user"
3737# ----------------------------------------------------------#
3838
3939# Deleting old web configs
40- if [ -e /etc/$WEB_SYSTEM /conf.d/hestia.conf ]; then
40+ if [ -e " /etc/$WEB_SYSTEM /conf.d/hestia.conf" ]; then
4141 sed -i " /.*\/$user \/conf\/web\//d" /etc/$WEB_SYSTEM /conf.d/hestia.conf
4242fi
4343
5252
5353# Deleting old proxy configs
5454if [ ! -z " $PROXY_SYSTEM " ]; then
55- if [ -e /etc/$PROXY_SYSTEM /conf.d/hestia.conf ]; then
55+ if [ -e " /etc/$PROXY_SYSTEM /conf.d/hestia.conf" ]; then
5656 sed -i " /.*\/$user \/conf\/web\//d" /etc/$PROXY_SYSTEM /conf.d/hestia.conf
5757 fi
5858
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ del_web_config() {
309309 # Remove domain configuration files and clean up symbolic links
310310 rm -f /etc/$WEB_SYSTEM /conf.d/domains/$domain .conf
311311 rm -f /etc/$WEB_SYSTEM /conf.d/domains/$domain .ssl.conf
312- if [ ! -z $PROXY_SYSTEM ]; then
312+ if [ ! -z " $PROXY_SYSTEM " ]; then
313313 rm -f /etc/$PROXY_SYSTEM /conf.d/domains/$domain .conf
314314 rm -f /etc/$PROXY_SYSTEM /conf.d/domains/$domain .ssl.conf
315315 fi
You can’t perform that action at this time.
0 commit comments