From bcc8aa0477411599462db65b2486053dbc4f81ba Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 12 Feb 2022 15:03:41 +0100 Subject: [PATCH] Added debug information --- archinstall/lib/general.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index c3184f1b..0aff5828 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -270,7 +270,7 @@ class SysCommandWorker: def is_alive(self) -> bool: self.poll() - if self.started and self.exit_code is not None: + if self.started and self.exit_code is None: return True return False @@ -486,7 +486,7 @@ class SysCommand: if not self.session: self.session = session - while self.session.ended is None: + while self.session.exit_code is None: self.session.poll() if self.peak_output: