summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-05 09:07:26 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-05 09:07:26 +0000
commit7c45bd47077c50ba3303e94b0e623d1125a4a5a5 (patch)
treed08d6baff291d77332af5a1ac354c289fb5f1fd9 /mdk-stage1
parent83f00ab2b7a1d2a4cc1d800fb1f7f98e2bc56e1c (diff)
downloaddrakx-7c45bd47077c50ba3303e94b0e623d1125a4a5a5.tar
drakx-7c45bd47077c50ba3303e94b0e623d1125a4a5a5.tar.gz
drakx-7c45bd47077c50ba3303e94b0e623d1125a4a5a5.tar.bz2
drakx-7c45bd47077c50ba3303e94b0e623d1125a4a5a5.tar.xz
drakx-7c45bd47077c50ba3303e94b0e623d1125a4a5a5.zip
do not go back to the beginning if no distribution is found in the
directory (second fix)
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 76fe01a7e..a82d26fda 100644
--- a/mdk-stage1/directory.c
+++ b/mdk-stage1/directory.c
@@ -175,7 +175,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me
"%s", extract_list_directory(IMAGE_LOCATION));
umount(IMAGE_LOCATION);
del_loop(loopdev);
- return RETURN_ERROR;
+ return RETURN_BACK;
}
#ifndef MANDRAKE_MOVE
if (readlink(IMAGE_LOCATION LIVE_LOCATION "/usr/bin/runinstall2", &p, 1) != 1) {