mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-05-07 13:26:08 +02:00
Dont match subdomains while restoring domain
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user