Skip to content

Commit 171ce1a

Browse files
author
Kristan Kenney
committed
Fix duplicate mail domain rebuild on restore
1 parent 85a82cd commit 171ce1a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bin/v-restore-user

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,10 +595,7 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
595595

596596
# Restoring email accounts
597597
cp -f $tmpdir/mail/$domain/$backup_system/$domain.conf $USER_DATA/mail/
598-
599-
# Rebuilding mail config
600-
$BIN/v-rebuild-mail-domains $user
601-
598+
602599
domain_idn=$domain
603600
format_domain_idn
604601

0 commit comments

Comments
 (0)