diff --git a/austin/__init__.py b/austin/__init__.py index 8dcdb8b..ea57fe4 100644 --- a/austin/__init__.py +++ b/austin/__init__.py @@ -240,7 +240,7 @@ def submit_sample(self, data: bytes) -> None: def check_exit(self, rcode: int, stderr: Optional[str]) -> None: """Check Austin exit status.""" if rcode: - if rcode in (-15, 15): + if rcode in {-15, 15, 241}: raise AustinTerminated() raise AustinError(f"({rcode}) {stderr}")