summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-16 19:36:03 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-16 19:36:03 +0000
commit46ad4d816ac306866fbe2b9a1cb083e796204eac (patch)
tree311585608b361d18528e82964e2c4a2bb19df456
parent4a2770ab06d59e595fc5f12d6a4db962abfff2c1 (diff)
downloaddrakx-46ad4d816ac306866fbe2b9a1cb083e796204eac.tar
drakx-46ad4d816ac306866fbe2b9a1cb083e796204eac.tar.gz
drakx-46ad4d816ac306866fbe2b9a1cb083e796204eac.tar.bz2
drakx-46ad4d816ac306866fbe2b9a1cb083e796204eac.tar.xz
drakx-46ad4d816ac306866fbe2b9a1cb083e796204eac.zip
fail if device doesn't match anything
-rw-r--r--mdk-stage1/thirdparty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/thirdparty.c b/mdk-stage1/thirdparty.c
index 1212ea70c..48becc33a 100644
--- a/mdk-stage1/thirdparty.c
+++ b/mdk-stage1/thirdparty.c
@@ -166,7 +166,9 @@ static enum return_type third_party_choose_device(char ** device, char *mount_lo
}
#endif
- return results;
+ stg1_error_message("I can't mount the selected device.");
+
+ return RETURN_ERROR;
}
void thirdparty_load_modules(void)