From 5dedec12f9eb8de64b49f4f293c6549a0f7d704d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Haso=C5=88?= Date: Mon, 20 Jun 2022 04:50:38 +0200 Subject: [PATCH] feat: return error code for failed CLI-based installs (#3452) --- framework/core/src/Install/Console/InstallCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/core/src/Install/Console/InstallCommand.php b/framework/core/src/Install/Console/InstallCommand.php index 3399c8bb8..d6b464054 100644 --- a/framework/core/src/Install/Console/InstallCommand.php +++ b/framework/core/src/Install/Console/InstallCommand.php @@ -73,6 +73,8 @@ class InstallCommand extends AbstractCommand $this->info('DONE.'); } else { $this->showProblems($problems); + + return 1; } }