summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-03-27 15:24:33 -0500
committerDavid Lehman <dlehman@redhat.com>2009-03-30 21:22:44 -0500
commit935d6d62a520b1d69bfd1613b9b3e7e452a2eb8b (patch)
tree39ebd2ed6a22f0fe73493896c2ec550b2c3bd69e /storage
parent63080e1c55a9a33fc81f41da8c787cf8dd14ba24 (diff)
downloadanaconda-935d6d62a520b1d69bfd1613b9b3e7e452a2eb8b.tar.gz
anaconda-935d6d62a520b1d69bfd1613b9b3e7e452a2eb8b.tar.xz
anaconda-935d6d62a520b1d69bfd1613b9b3e7e452a2eb8b.zip
Return early from doAutoPartition if partition allocation fails.
Diffstat (limited to 'storage')
-rw-r--r--storage/partitioning.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/partitioning.py b/storage/partitioning.py
index 9f4b6bb9c..50f1a68f5 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -215,6 +215,8 @@ def doAutoPartition(anaconda):
if anaconda.isKickstart:
sys.exit(0)
+ else:
+ return
# sanity check the collection of devices
log.warning("not sanity checking storage config because I don't know how yet")