Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index aca3520b..7798ca08 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -129,6 +129,9 @@ if archinstall.arguments['harddrive'].has_partitions():
while 1:
new_filesystem = input(f"Enter a valid filesystem for {partition} (leave blank for {partition.filesystem}): ").strip(' ')
+ if len(new_filesystem) <= 0:
+ break
+
try:
partition.format(new_filesystem, path='/dev/null', log_formating=False, allow_formatting=True)
except UnknownFilesystemFormat: