summaryrefslogtreecommitdiffstats
path: root/loader/urlinstall.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/urlinstall.c')
-rw-r--r--loader/urlinstall.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader/urlinstall.c b/loader/urlinstall.c
index 392dbd1a4..150800e48 100644
--- a/loader/urlinstall.c
+++ b/loader/urlinstall.c
@@ -223,8 +223,10 @@ char *mountUrlImage(struct installMethod *method, char *location,
} else {
char *substr;
- if (urlMainSetupPanel(&ui))
+ if (urlMainSetupPanel(&ui)) {
+ loaderData->stage2Data = NULL;
return NULL;
+ }
/* If the user-provided URL points at a repo instead of
* a stage2 image, fix it up now.