From 9b15d646bfc85ce3a761e8eb68500136eef58ef5 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Sun, 1 Feb 2026 14:49:10 +0100 Subject: [PATCH] fix(pre-generate): always return an exit code Signed-off-by: Richard Steinmetz --- lib/Command/PreGenerate.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Command/PreGenerate.php b/lib/Command/PreGenerate.php index 397653b..c724355 100644 --- a/lib/Command/PreGenerate.php +++ b/lib/Command/PreGenerate.php @@ -33,6 +33,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int $this->preGenerateService->preGenerate($output); } catch (EncryptionEnabledException $e) { $output->writeln('Encryption is enabled. Aborted.'); + return 1; } + + return 0; } }