summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/stage1.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r--mdk-stage1/stage1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index 50f04ad53..93aae9338 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -145,7 +145,7 @@ enum return_type method_select_and_prepare(void)
results = ask_from_list_auto("Please choose the mean of installation.", means, &choice, "method", means_auto);
if (results != RETURN_OK)
- return results;
+ return method_select_and_prepare();
results = RETURN_ERROR;
@@ -171,7 +171,7 @@ enum return_type method_select_and_prepare(void)
#endif
if (results != RETURN_OK)
- method_select_and_prepare();
+ return method_select_and_prepare();
return RETURN_OK;
}