summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 6e3449f76..84baba81e 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -660,7 +660,11 @@ enum return_type nfs_prepare(void)
continue;
}
+#ifdef MANDRAKE_MOVE
+ if (access(IMAGE_LOCATION "/usr/bin/runstage2", R_OK)) {
+#else
if (access(IMAGE_LOCATION LIVE_LOCATION, R_OK)) {
+#endif
stg1_error_message("That NFS volume does not seem to contain the " DISTRIB_NAME " Distribution.");
umount(IMAGE_LOCATION);
results = RETURN_BACK;