summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-11-13 15:40:50 -0500
committerChris Lumens <clumens@redhat.com>2007-11-13 15:40:50 -0500
commitad0625f565aaae07f7752a6a3b62cc8dae2c49c8 (patch)
treea7fd4fd4725c368acb613ac4dab20b2e5b727e10 /loader2
parent784c13a7988e50fa24b562aefa68e16bb21221e0 (diff)
downloadanaconda-ad0625f565aaae07f7752a6a3b62cc8dae2c49c8.tar.gz
anaconda-ad0625f565aaae07f7752a6a3b62cc8dae2c49c8.tar.xz
anaconda-ad0625f565aaae07f7752a6a3b62cc8dae2c49c8.zip
Fix a traceback when building the updates partition dialog (#372011).
Diffstat (limited to 'loader2')
-rw-r--r--loader2/loader.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader2/loader.c b/loader2/loader.c
index cd6fb3ee4..eed4954ff 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -402,8 +402,10 @@ void loadUpdates(struct loaderData_s *loaderData) {
if ((nump = lenPartitionsList(part_list)) == 0) {
if (dir == -1)
stage = UPD_DEVICE;
- else
+ else {
+ part = device;
stage = UPD_LOAD;
+ }
break;
}