summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index 3ab6cd514..b8c75f42e 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -41,7 +41,7 @@ def findRootParts(intf, id, dispatch, dir, chroot):
for (dev, fs, meta) in id.rootParts:
id.upgradeRoot.append( (dev, fs) )
- if id.rootParts is not None:
+ if id.rootParts is not None and len(id.rootParts) > 0:
dispatch.skipStep("findinstall", skip = 0)
else:
dispatch.skipStep("findinstall", skip = 1)