summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-04 12:16:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-04 12:16:19 +0000
commit35b60523ce6b2e32f33dee7a09ce505cc5512be6 (patch)
treea619197b382700f959fb25bf6407f3a58804f5f9 /mdk-stage1/tools.c
parentf937ddc901c78571016f054ebc456e9716fbde73 (diff)
downloaddrakx-35b60523ce6b2e32f33dee7a09ce505cc5512be6.tar
drakx-35b60523ce6b2e32f33dee7a09ce505cc5512be6.tar.gz
drakx-35b60523ce6b2e32f33dee7a09ce505cc5512be6.tar.bz2
drakx-35b60523ce6b2e32f33dee7a09ce505cc5512be6.tar.xz
drakx-35b60523ce6b2e32f33dee7a09ce505cc5512be6.zip
LIVE_LOCATION is better named LIVE_LOCATION_REL without the leading "/"
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r--mdk-stage1/tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index a89edf613..ddc939012 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -227,7 +227,7 @@ int image_has_stage2()
#ifdef MANDRAKE_MOVE
return access(IMAGE_LOCATION "/live_tree.clp", R_OK) == 0;
#else
- return access(IMAGE_LOCATION LIVE_LOCATION, R_OK) == 0;
+ return access(IMAGE_LOCATION "/" LIVE_LOCATION_REL, R_OK) == 0;
#endif
}