index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-11-17 18:02:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 19:02:20 +0100 |
commit | 7d991ecb9f87f863e1e78ce7e2d06c4d2f9568db (patch) | |
tree | 09c93925204c14165ab1292c688e668c4a02f990 /archinstall/lib/general.py | |
parent | 5cc88a74ab79b245e9fbe0c4964a052088a22aea (diff) |
-rw-r--r-- | archinstall/lib/general.py | 16 |
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index 21683425..f3773755 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -382,18 +382,14 @@ class SysCommand: if self.session: return True - try: - self.session = SysCommandWorker(self.cmd, callbacks=self._callbacks, peak_output=self.peak_output, environment_vars=self.environment_vars) + self.session = SysCommandWorker(self.cmd, callbacks=self._callbacks, peak_output=self.peak_output, environment_vars=self.environment_vars) - while self.session.ended is None: - self.session.poll() + while self.session.ended is None: + self.session.poll() - if self.peak_output: - sys.stdout.write('\n') - sys.stdout.flush() - - except SysCallError: - return False + if self.peak_output: + sys.stdout.write('\n') + sys.stdout.flush() return True |