summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-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 f71cf8ad4..0ca78397a 100644
--- a/mdk-stage1/directory.c
+++ b/mdk-stage1/directory.c
@@ -143,7 +143,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me
add_to_env("METHOD", method_live);
}
#ifndef MANDRAKE_MOVE
- if (IS_SPECIAL_STAGE2 || ((loopdev || !streq(method_live, "nfs")) && ramdisk_possible())) {
+ if (IS_SPECIAL_STAGE2 || (loopdev && ramdisk_possible())) {
/* RAMDISK install */
if (access(IMAGE_LOCATION RAMDISK_LOCATION, R_OK)) {
stg1_error_message("I can't find the " DISTRIB_NAME " Distribution in the specified directory. "