summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/directory.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-28 09:14:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-28 09:14:02 +0000
commit789b2fda0d7dcd75ece6194567b9f9d50d272521 (patch)
treeac37120629105be6db0b5f20aaeb9d7647256579 /mdk-stage1/directory.c
parent558c2f8009b6ae2a8082b67a6474de38d866bb57 (diff)
downloaddrakx-789b2fda0d7dcd75ece6194567b9f9d50d272521.tar
drakx-789b2fda0d7dcd75ece6194567b9f9d50d272521.tar.gz
drakx-789b2fda0d7dcd75ece6194567b9f9d50d272521.tar.bz2
drakx-789b2fda0d7dcd75ece6194567b9f9d50d272521.tar.xz
drakx-789b2fda0d7dcd75ece6194567b9f9d50d272521.zip
new option "keepmounted" to allow the rescue media to be kept mounted
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 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);