index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-29 15:35:37 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-29 15:35:37 +0100 |
commit | c2badea10badc3d48d4250955c58732e6dcb08b3 (patch) | |
tree | 14f264b10f42fd2e565980d6cdb6abb46be8726e | |
parent | b2f85c93e7a93ad31910902975f408ae106a0bb2 (diff) |
-rw-r--r-- | archinstall.py | 4 |
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]})') |