Fix exit code from rebuildLocalisationCache.php
authorTim Starling <tstarling@wikimedia.org>
Mon, 16 Mar 2015 22:39:06 +0000 (09:39 +1100)
committerBryanDavis <bdavis@wikimedia.org>
Wed, 18 Mar 2015 15:03:28 +0000 (15:03 +0000)
commit1e5efc85f382d9132fab02ed8c246cacc5251c0e
treef79c034731bd4b36b6c0be7c8b4a922346490a61
parent3e7326dc6a2697e1ffcabda86d128314f514c8c9
Fix exit code from rebuildLocalisationCache.php

When --threads was used, the exit code was unconditionally 0, even if a
child thread threw an exception, because the exit code was "abused" for
the count of rebuilt languages. So, don't do that. We don't really need
a count of rebuilt languages that badly, just pass through the exit
status of the child.

Bug: T92900
Change-Id: I77922e686fe7da4fc25bb7f579ed70e1b107eaca
maintenance/rebuildLocalisationCache.php