From 957a2fa1714222e07c0ddfea979d9f8ec4457045 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 28 Nov 2022 17:06:30 +0200 Subject: [PATCH] fix upgrade --- application/Espo/Core/Console/Commands/Upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/Core/Console/Commands/Upgrade.php b/application/Espo/Core/Console/Commands/Upgrade.php index a6390d67f7..1aead14d28 100644 --- a/application/Espo/Core/Console/Commands/Upgrade.php +++ b/application/Espo/Core/Console/Commands/Upgrade.php @@ -371,7 +371,7 @@ class Upgrade implements Command } catch (Throwable) {} - throw new Error($shellResult ?? 'Unknown error on shell_exec.'); + throw new Error($shellResult ?: 'Unknown error on shell_exec.'); } } }