Skip to content
Snippets Groups Projects
Commit a8f8a2aa authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'stable-3.1' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.1

parents 789ddb5c 2233652d
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ class cronjob_backup_mail extends cronjob { ...@@ -152,7 +152,7 @@ class cronjob_backup_mail extends cronjob {
} }
} }
if($retval == 0){ if($retval <= 1){
chown($mail_backup_dir.'/'.$mail_backup_file, $backupusername); chown($mail_backup_dir.'/'.$mail_backup_file, $backupusername);
chgrp($mail_backup_dir.'/'.$mail_backup_file, $backupgroup); chgrp($mail_backup_dir.'/'.$mail_backup_file, $backupgroup);
chmod($mail_backup_dir.'/'.$mail_backup_file, 0640); chmod($mail_backup_dir.'/'.$mail_backup_file, 0640);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment