summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py
index 70ef200ac..1ef172096 100644
--- a/autopart.py
+++ b/autopart.py
@@ -1287,6 +1287,7 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
"partitioning:\n\n%s\n\n"
"Press 'OK' to reboot your system.") %
(errors,), custom_icon='error')
+ sys.exit(0)
try:
doPartitioning(diskset, partitions, doRefresh = 0)