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 f0cae5a commit f5dcd88Copy full SHA for f5dcd88
func/domain.sh
@@ -49,9 +49,9 @@ is_domain_new() {
49
type="$1"
50
dom=${2-$domain}
51
52
- web=$(grep -H "DOMAIN='$dom'" $VESTA/data/users/*/web.conf)
53
- dns=$(grep -H "DOMAIN='$dom'" $VESTA/data/users/*/dns.conf)
54
- mail=$(grep -H "DOMAIN='$dom'" $VESTA/data/users/*/mail.conf)
+ web=$(grep -F -H "DOMAIN='$dom'" $VESTA/data/users/*/web.conf)
+ dns=$(grep -F -H "DOMAIN='$dom'" $VESTA/data/users/*/dns.conf)
+ mail=$(grep -F -H "DOMAIN='$dom'" $VESTA/data/users/*/mail.conf)
55
56
# Check web domain
57
if [ ! -z "$web" ] && [ "$type" == 'web' ]; then
0 commit comments