Skip to content
Permalink
Browse files

Modified the install command to return the proper exit code in case o…

…f error. (#4080)
  • Loading branch information...
zoiosilva authored and enzolutions committed Jun 6, 2019
1 parent 6af1543 commit 9a895aa6381dee24b713422848d392cee69b9ea6
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Command/Site/InstallCommand.php
@@ -463,7 +463,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
try {
$drupalFinder = new DrupalFinder();
$drupalFinder->locateRoot(getcwd());
$this->runInstaller($database_install, $uri);
if (($exitCode = $this->runInstaller($database_install, $uri)) !== 0) {
return $exitCode;
}
$autoload = $this->container->get('class_loader');
$drupal = new Drupal(

0 comments on commit 9a895aa

Please sign in to comment.
You can’t perform that action at this time.