CLI install exited with 0 status code
authorAntoine Musso <hashar@free.fr>
Sat, 7 Jul 2012 18:09:45 +0000 (20:09 +0200)
committerAntoine Musso <hashar@free.fr>
Sat, 7 Jul 2012 18:12:39 +0000 (20:12 +0200)
commit406988f0993ec842a9a794fbc343be56aadeb070
tree955e6b5d1e7387cb36119b14ec6b7cd4d6fca021
parent23477c7ef62bd5a704ab9a90ea3adf13a0fdd740
CLI install exited with 0 status code

The CliInstaller used the '0' exit code whenever the status was not OK.
That makes third party script assuming the install actually ran fine
since a 0 exit code is mostly considered as a success. By sending an
error code > 0 (here 1), our automatic installers will be able to catch
the failure and stop proceeding.

I had that issue with a Jenkins job which ran the CLI installer and kept
continuing although there was an error about LocalSettings.php already
existing.

Change-Id: I4f4727df85c09c0a04e4630df91c6213dfce6e9a
includes/installer/CliInstaller.php