index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-04 15:17:33 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-04-04 15:17:33 +0200 |
commit | 918bc95edfcdc18206c8132611a4d7e7473368bc (patch) | |
tree | 063b1036ebca508f741d31d0e2f7a5e6c665943a /archinstall | |
parent | 36bc243cf8d2dbb68d1c37f121f9b1e537964175 (diff) |
-rw-r--r-- | archinstall/lib/general.py | 9 |
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index c102c946..d47b390a 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -166,6 +166,13 @@ class sys_command():#Thread): except UnicodeDecodeError: return None + output = output.strip('\r\n ') + if len(output) <= 0: + return None + + print([output]) + return None + if self.peak_output: from .user_interaction import get_terminal_width @@ -179,7 +186,7 @@ class sys_command():#Thread): sys.stdout.flush() # And print the new output we're peaking on: - sys.stdout.write(output.strip('\r\n ')) + sys.stdout.write(output) sys.stdout.flush() def run(self): |