From 0ae6de5ceb21b5b15df9c1a59da48f25500ddd41 Mon Sep 17 00:00:00 2001 From: Russ Nelson Date: Sun, 16 Oct 2011 23:03:17 +0000 Subject: [PATCH] StoreBatchTest counts even MORE correct than before. --- includes/filerepo/FSRepo.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/filerepo/FSRepo.php b/includes/filerepo/FSRepo.php index 7bc62225ba..99b8436f9d 100644 --- a/includes/filerepo/FSRepo.php +++ b/includes/filerepo/FSRepo.php @@ -220,9 +220,11 @@ class FSRepo extends FileRepo { $hashDest = sha1_file( $dstPath ); if ( $hashSource != $hashDest ) { $status->fatal( 'fileexistserror', $dstPath ); + $status->failCount++; } } else { $status->fatal( 'fileexistserror', $dstPath ); + $status->failCount++; } } } -- 2.20.1