Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/general.py9
1 files changed, 8 insertions, 1 deletions
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):