diff --git a/module/VuFindConsole/src/VuFindConsole/Command/Language/AddUsingTemplateCommand.php b/module/VuFindConsole/src/VuFindConsole/Command/Language/AddUsingTemplateCommand.php index 8cd2ed8412ef0012b806767599cd0b48744e1235..d4edd7e49b0e278f90c999592a9a643aa5476d18 100644 --- a/module/VuFindConsole/src/VuFindConsole/Command/Language/AddUsingTemplateCommand.php +++ b/module/VuFindConsole/src/VuFindConsole/Command/Language/AddUsingTemplateCommand.php @@ -107,7 +107,7 @@ class AddUsingTemplateCommand extends AbstractCommand foreach ($lookups as $domain => & $tokens) { $sourceDir = $this->getLangDir($output, $domain, false); if (!$sourceDir) { - return $this->getFailureResponse(); + return 1; } $sourceCallback = function ($full) use ($domain, & $tokens) { $strings = $this->reader->getTextDomain($full, false);