mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
removed unnecessary sed expr defenition
This commit is contained in:
parent
5afa0f4a00
commit
861585bcca
30 changed files with 74 additions and 74 deletions
|
@ -54,7 +54,7 @@ if [ $(echo -e "${dom_alias//\./\n}" | wc -l) -le 2 ]; then
|
|||
else
|
||||
# Check subdomain
|
||||
sub=$(echo "$dom_alias" | cut -f1 -d . -s)
|
||||
root=$(echo "$dom_alias" | sed -e "s/^$sub.//" )
|
||||
root=$(echo "$dom_alias" | sed "s/^$sub.//" )
|
||||
if [ -e "$USER_DATA/dns/$root.conf" ]; then
|
||||
if [ "$sub" == '*' ]; then
|
||||
rec=$(grep -w "RECORD='\*'" $USER_DATA/dns/$root.conf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue