From: Reedy Date: Tue, 10 Sep 2019 02:19:51 +0000 (+0100) Subject: Display error if Installer->execute() doesn't return a good status object X-Git-Tag: 1.34.0-rc.0~278^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/Category:Bar1?a=commitdiff_plain;h=f1f9006707a2324505a9d97b32f07bf5a28aa37e;p=lhc%2Fweb%2Fwiklou.git Display error if Installer->execute() doesn't return a good status object Bug: T232425 Change-Id: Ic41acdfd6cdd96a393e0b2af28f69da1ff6653b7 --- diff --git a/maintenance/install.php b/maintenance/install.php index 28a1746d9e..16b8ccf837 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -133,6 +133,8 @@ class CommandLineInstaller extends Maintenance { if ( !$envChecksOnly ) { $status = $installer->execute(); if ( !$status->isGood() ) { + $installer->showStatusMessage( $status ); + return false; } $installer->writeConfigurationFile( $this->getOption( 'confpath', $IP ) );