Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
cfdc58ff
Commit
cfdc58ff
authored
Feb 02, 2017
by
Till Brehm
Browse files
Merge branch 'stable-3.1' into 'stable-3.1'
changed loglevel to WARN when mailbackup fails See merge request !516
parents
75c3d472
832b6ba4
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/cron.d/500-backup_mail.inc.php
View file @
cfdc58ff
...
...
@@ -169,7 +169,7 @@ class cronjob_backup_mail extends cronjob {
if
(
$rec
[
'maildir_format'
]
==
'mdbox'
)
{
if
(
file_exists
(
$rec
[
'maildir'
]
.
'/backup'
))
exec
(
"su -c 'rm -rf "
.
$rec
[
'maildir'
]
.
"/backup'"
);
}
$app
->
log
(
$mail_backup_file
.
' NOK:'
.
implode
(
''
,
$tmp_output
),
LOGLEVEL_
DEBUG
);
$app
->
log
(
$mail_backup_file
.
' NOK:'
.
implode
(
''
,
$tmp_output
),
LOGLEVEL_
WARN
);
}
/* Remove old backups */
$backup_copies
=
intval
(
$rec
[
'backup_copies'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment