summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/cdrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/cdrom.c')
-rw-r--r--mdk-stage1/cdrom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/cdrom.c b/mdk-stage1/cdrom.c
index 6004ddf98..8fc4868d4 100644
--- a/mdk-stage1/cdrom.c
+++ b/mdk-stage1/cdrom.c
@@ -47,7 +47,11 @@ static int mount_that_cd_device(char * dev_name)
static int test_that_cd()
{
+#ifdef MANDRAKE_MOVE
+ return access(IMAGE_LOCATION "/usr/bin/runstage2", R_OK);
+#else
return access(IMAGE_LOCATION LIVE_LOCATION, R_OK);
+#endif
}