Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]})')