mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Dont match subdomains while restoring domain
This commit is contained in:
parent
591369f9b4
commit
ec87943852
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
|
if [ -z "$web" ] || [ "$web" = '*' ]; then
|
||||||
domains="$backup_domains"
|
domains="$backup_domains"
|
||||||
else
|
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)
|
domains=$(echo "$backup_domains" |egrep -f $tmpdir/selected.txt)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue