We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cabb54 commit 7eb7a81Copy full SHA for 7eb7a81
func/domain.sh
@@ -271,7 +271,7 @@ del_web_config() {
271
get_web_config_lines $WEBTPL/$1/$WEB_BACKEND/$2 $conf
272
sed -i "$top_line,$bottom_line d" $conf
273
274
- web_domain=$(grep $domain $USER_DATA/web.conf |wc -l)
+ web_domain=$(grep DOMAIN $USER_DATA/web.conf |wc -l)
275
if [ "$web_domain" -eq '0' ]; then
276
sed -i "/.*\/$user\/.*$1.conf/d" /etc/$1/conf.d/vesta.conf
277
rm -f $conf
0 commit comments