Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 15:37:05 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 15:37:05 +0100
commit253e52da228183be504b1fd8249dcb7bbad5f011 (patch)
treea62e7788b9130ef507625abab6d7063dcd1abdb6
parentc2badea10badc3d48d4250955c58732e6dcb08b3 (diff)
debugging
-rw-r--r--archinstall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 1b442d1c..2502b00e 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -306,6 +306,7 @@ class sys_command():#Thread):
break
if 'debug' in self.kwargs and self.kwargs['debug'] and len(output):
+ print(self.cmd[0], 'gave:', output.decode('UTF-8'), origin='spawn', level=4)
log(self.cmd[0],'gave:', output.decode('UTF-8'), origin='spawn', level=4)
lower = output.lower()
@@ -1230,7 +1231,7 @@ if __name__ == '__main__':
close_disks()
print(f'[N] Setting up {args["drive"]}.')
if not format_disk('drive', start='start', end='size', debug=True):
- pritn(f'[E] Coult not format drive {args["drive"]}')
+ print(f'[E] Coult not format drive {args["drive"]}')
exit(1)
refresh_partition_list('drive')