From 7c45bd47077c50ba3303e94b0e623d1125a4a5a5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 5 Aug 2004 09:07:26 +0000 Subject: do not go back to the beginning if no distribution is found in the directory (second fix) --- mdk-stage1/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/directory.c') 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) { -- cgit v1.2.1