diff --git a/poetry/installation/executor.py b/poetry/installation/executor.py index f6c60497fd9..cc00a9d06e1 100644 --- a/poetry/installation/executor.py +++ b/poetry/installation/executor.py @@ -124,7 +124,7 @@ def execute(self, operations): # type: (Operation) -> int break - return self._shutdown + return 1 if self._shutdown else 0 def _write(self, operation, line): if not self.supports_fancy_output() or not self._should_write_operation(