Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-13 23:26:49 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-13 23:26:49 +0000
commit9774daa2b6bcf353d16510dc69194f4bf502f2ce (patch)
tree267be821d8386f624a35ded4e4892185f7f63c7d /archinstall.py
parent6b5f93f08e392d922d8548643d6cd704839aaa7a (diff)
Improving tracelog output on error
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 74f69320..18ad9f22 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -259,8 +259,8 @@ class sys_command():
exit_code = os.waitpid(self.pid, 0)[1]
if exit_code != 0:
+ print(trace_log.decode('UTF-8'))
print('[E] Command "{}" on line ~150 exited with status code:'.format(self.cmd[0]), exit_code)
- print(trace_log)
print('[?] Command executed: {}'.format(self.cmd))
exit(1)