mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Dont match subdomains while restoring domain
This commit is contained in:
parent
a9e46047e9
commit
8d9e349b23
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
|
|||
if [ -z "$web" ] || [ "$web" = '*' ]; then
|
||||
domains="$backup_domains"
|
||||
else
|
||||
echo "$web" |tr ',' '\n' > $tmpdir/selected.txt
|
||||
echo "$web" | tr ',' '\n' | sed -e "s/^/^/" > $tmpdir/selected.txt
|
||||
domains=$(echo "$backup_domains" |egrep -f $tmpdir/selected.txt)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue