summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/modules.c')
-rw-r--r--mdk-stage1/modules.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c
index a699f24f4..8d2825993 100644
--- a/mdk-stage1/modules.c
+++ b/mdk-stage1/modules.c
@@ -391,8 +391,11 @@ void update_modules(void)
my_insmod("floppy", ANY_DRIVER_TYPE, NULL);
if (my_mount("/dev/fd0", floppy_mount_location, "ext2") == -1) {
- stg1_error_message("I can't find a Linux ext2 floppy in first floppy drive.");
- return update_modules();
+ enum return_type results = ask_yes_no("I can't find a Linux ext2 floppy in first floppy drive.\n"
+ "Retry?");
+ if (results == RETURN_OK)
+ return update_modules();
+ return;
}
disk_contents = list_directory(floppy_mount_location);