summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/directory.c')
-rw-r--r--mdk-stage1/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c
index aa271562e..97221bcfa 100644
--- a/mdk-stage1/directory.c
+++ b/mdk-stage1/directory.c
@@ -49,7 +49,6 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me
char location_full[500];
char * loopdev = NULL;
struct stat statbuf;
- enum return_type results;
unlink(IMAGE_LOCATION);
strcpy(location_full, directory);
@@ -99,6 +98,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me
stage2_isos[stage2_iso_number] = NULL;
if (stage2_iso_number > 2) {
+ enum return_type results;
do {
results = ask_from_list("Please choose the ISO image to be used to install the "
DISTRIB_NAME " Distribution.",