summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-05 08:47:53 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-05 08:47:53 +0000
commit1922fb769aa3deb26f7f5b6fcb14784a5ba9a0f3 (patch)
treefbbaeb326a2818b280d4c490f0208b20a72d43f1
parentcc413542e6adf9c0487f322036d6b6be1745087a (diff)
downloaddrakx-backup-do-not-use-1922fb769aa3deb26f7f5b6fcb14784a5ba9a0f3.tar
drakx-backup-do-not-use-1922fb769aa3deb26f7f5b6fcb14784a5ba9a0f3.tar.gz
drakx-backup-do-not-use-1922fb769aa3deb26f7f5b6fcb14784a5ba9a0f3.tar.bz2
drakx-backup-do-not-use-1922fb769aa3deb26f7f5b6fcb14784a5ba9a0f3.tar.xz
drakx-backup-do-not-use-1922fb769aa3deb26f7f5b6fcb14784a5ba9a0f3.zip
do not go back to the beginning if no distribution is found in the directory
-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 b04895f00..76fe01a7e 100644
--- a/mdk-stage1/directory.c
+++ b/mdk-stage1/directory.c
@@ -152,7 +152,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;
}
if (load_ramdisk() != RETURN_OK) {
stg1_error_message("Could not load program into memory.");