summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-03-10 17:42:23 -0400
committerChris Lumens <clumens@redhat.com>2008-03-10 17:42:23 -0400
commit22cf808696eecddc0872c3f6795267f58f445417 (patch)
tree486e908623853269009a667497446e45c6903629 /loader2
parentabf26e1ef526c51bb38d3d6669e3b8d4d08c4f2f (diff)
downloadanaconda-22cf808696eecddc0872c3f6795267f58f445417.tar.gz
anaconda-22cf808696eecddc0872c3f6795267f58f445417.tar.xz
anaconda-22cf808696eecddc0872c3f6795267f58f445417.zip
Unset stage2 flag in more cases.
Diffstat (limited to 'loader2')
-rw-r--r--loader2/urlinstall.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/loader2/urlinstall.c b/loader2/urlinstall.c
index c0166188a..1bb951c59 100644
--- a/loader2/urlinstall.c
+++ b/loader2/urlinstall.c
@@ -237,9 +237,11 @@ char * mountUrlImage(struct installMethod * method,
stage = URL_STAGE_FETCH;
dir = 1;
break;
- } else if (urlMainSetupPanel(&ui, &needsSecondary)) {
+ } else {
flags &= ~LOADER_FLAGS_STAGE2;
- return NULL;
+
+ if (urlMainSetupPanel(&ui, &needsSecondary))
+ return NULL;
}
/* got required information from user, proceed */