summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-18 22:32:49 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-18 22:32:49 +0000
commit673ead66567478de006650e4a502b81d08652b4c (patch)
treed14a422e076b46e78c26baac44042c9cd295c070 /mdk-stage1/network.c
parentca4dfa2f982141d9eaed450c9c3852cd9ec4e24c (diff)
downloaddrakx-backup-do-not-use-673ead66567478de006650e4a502b81d08652b4c.tar
drakx-backup-do-not-use-673ead66567478de006650e4a502b81d08652b4c.tar.gz
drakx-backup-do-not-use-673ead66567478de006650e4a502b81d08652b4c.tar.bz2
drakx-backup-do-not-use-673ead66567478de006650e4a502b81d08652b4c.tar.xz
drakx-backup-do-not-use-673ead66567478de006650e4a502b81d08652b4c.zip
support cloop over NFS too. stay flexible enough so that server= parameter can either designate the root of the live tree or the root for the cloop live tree, program will detect automatically both.
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 84baba81e..f6834c55b 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -661,7 +661,7 @@ enum return_type nfs_prepare(void)
}
#ifdef MANDRAKE_MOVE
- if (access(IMAGE_LOCATION "/usr/bin/runstage2", R_OK)) {
+ if (access(IMAGE_LOCATION "/usr/bin/runstage2", R_OK) && access(IMAGE_LOCATION "/live_tree.clp", R_OK)) {
#else
if (access(IMAGE_LOCATION LIVE_LOCATION, R_OK)) {
#endif