From 789b2fda0d7dcd75ece6194567b9f9d50d272521 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 28 Feb 2005 09:14:02 +0000 Subject: new option "keepmounted" to allow the rescue media to be kept mounted --- mdk-stage1/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/directory.c') diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c index a968b1996..9c467cc2c 100644 --- a/mdk-stage1/directory.c +++ b/mdk-stage1/directory.c @@ -170,7 +170,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me log_message("found the " DISTRIB_NAME " Installation, good news!"); #endif - if (IS_RESCUE || ret != RETURN_OK) { + if (!KEEP_MOUNTED || ret != RETURN_OK) { /* in rescue mode, we don't need the media anymore */ umount(IMAGE_LOCATION); del_loop(loopdev); -- cgit v1.2.1