X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2FsyncFileBackend.php;h=76a5721977f4fbdabec6beb15908dc0462df54f7;hb=1aba1d864c135740c2c37c7af30e2117be072769;hp=49627c3e5fe12bb66bddc6c2c59db0f4a1858a08;hpb=993f0c6f1e1708d78cccca3e9133c62f9392e245;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/syncFileBackend.php b/maintenance/syncFileBackend.php index 49627c3e5f..76a5721977 100644 --- a/maintenance/syncFileBackend.php +++ b/maintenance/syncFileBackend.php @@ -254,7 +254,7 @@ class SyncFileBackend extends Maintenance { 'src' => $fsFile->getPath(), 'dst' => $dPath, 'overwrite' => 1 ]; } elseif ( $sExists === false ) { // does not exist in source $ops[] = [ 'op' => 'delete', 'src' => $dPath, 'ignoreMissingSource' => 1 ]; - } else { // error + } else { $this->error( "Unable to sync '$dPath': could not stat file." ); $status->fatal( 'backend-fail-internal', $src->getName() );