From 9e59aa5ab94b40986be1f3a3bd74b8056c7b48cb Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 27 Jul 2001 15:56:05 +0000 Subject: allow to escape from Update Modules if you don't want to insert an ext2 floppy --- mdk-stage1/modules.c | 7 +++++-- 1 file 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); -- cgit v1.2.1