Skip to content

Commit 85936b1

Browse files
author
Till Brehm
committed
Do not fail bor backup when file changed during backup.
1 parent ccfda12 commit 85936b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/backup.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ protected static function make_web_backup($web_domain, $backup_job)
19981998
if ($app->system->last_exec_retcode() == 1) {
19991999
$app->log('Backup of web files for domain ' . $web_domain['domain'] . ' using path ' . $web_path . ' mentined file changed while we backed it up.', LOGLEVEL_DEBUG);
20002000
}
2001-
$success = $app->system->last_exec_retcode() == 0 || $app->system->last_exec_retcode() == 1;
2001+
$success = ($app->system->last_exec_retcode() == 0 || $app->system->last_exec_retcode() == 1)?true:false;
20022002
}
20032003

20042004
if ($success) {

0 commit comments

Comments
 (0)