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; } }