summaryrefslogtreecommitdiff
path: root/maintenance/updateDoubleWidthSearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/updateDoubleWidthSearch.php')
-rw-r--r--maintenance/updateDoubleWidthSearch.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/maintenance/updateDoubleWidthSearch.php b/maintenance/updateDoubleWidthSearch.php
index bfbc441f..61545f8d 100644
--- a/maintenance/updateDoubleWidthSearch.php
+++ b/maintenance/updateDoubleWidthSearch.php
@@ -43,8 +43,7 @@ class UpdateDoubleWidthSearch extends Maintenance {
$dbw = wfGetDB( DB_MASTER );
if ( $dbw->getType() !== 'mysql' ) {
- $this->output( "This change is only needed on MySQL, quitting.\n" );
- exit( 1 );
+ $this->error( "This change is only needed on MySQL, quitting.\n", true );
}
$res = $this->findRows( $dbw );