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:35:37 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 15:35:37 +0100
commitc2badea10badc3d48d4250955c58732e6dcb08b3 (patch)
tree14f264b10f42fd2e565980d6cdb6abb46be8726e
parentb2f85c93e7a93ad31910902975f408ae106a0bb2 (diff)
Debugging
-rw-r--r--archinstall.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 62fd88e1..1b442d1c 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -1229,7 +1229,9 @@ if __name__ == '__main__':
close_disks()
print(f'[N] Setting up {args["drive"]}.')
- format_disk('drive', start='start', end='size')
+ if not format_disk('drive', start='start', end='size', debug=True):
+ pritn(f'[E] Coult not format drive {args["drive"]}')
+ exit(1)
refresh_partition_list('drive')
print(f'[N] Partitions: {len(args["partitions"])} (Boot: {list(args["partitions"].keys())[0]})')