Przeglądaj źródła

Merge pull request #586 from hestiacp/bugfix-backup

Minor fix in copying mail configuration files
Raphael Schneeberger 6 lat temu
rodzic
commit
80bcec2d54
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bin/v-backup-user

+ 1 - 1
bin/v-backup-user

@@ -315,7 +315,7 @@ if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL" != '*' ]; then
         # Backup exim config
         if [[ "$MAIL_SYSTEM" =~ exim ]]; then
             cd $tmpdir/mail/$domain/
-            cp $HOMEDIR/$user/conf/mail/$domain/* conf/
+            cp -r $HOMEDIR/$user/conf/mail/$domain/* conf/
         fi
 
         # Backup mail.conf