summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-02-04 23:50:13 +0000
committerJeremy Katz <katzj@redhat.com>2002-02-04 23:50:13 +0000
commite07f0e5bce25a8e3cba8654d2d501a5e8a9f2b3a (patch)
tree04682fd536f5542c4ade225f24b029522856a855
parent74d59b45adb317644988c227ec5713e9735f1499 (diff)
downloadanaconda-e07f0e5bce25a8e3cba8654d2d501a5e8a9f2b3a.tar.gz
anaconda-e07f0e5bce25a8e3cba8654d2d501a5e8a9f2b3a.tar.xz
anaconda-e07f0e5bce25a8e3cba8654d2d501a5e8a9f2b3a.zip
hard drive installs are happier now (#59301)
-rw-r--r--loader/loader.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 69a2d7f54..503ea8f91 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -585,10 +585,12 @@ static char * setupIsoImages(char * device, char * type, char * dirName,
if (!rc) {
rc = loadLocalImages("/tmp/loopimage", "/", flags, "loop1",
"/mnt/runtime");
- newtWinMessage(_("Error"), _("OK"),
+ if (rc) {
+ newtWinMessage(_("Error"), _("OK"),
_("An error occured reading the install "
"from the ISO images. Please check your ISO "
"images and try again."));
+ }
}
umount("/tmp/loopimage");
@@ -598,7 +600,7 @@ static char * setupIsoImages(char * device, char * type, char * dirName,
umount("/tmp/hdimage");
- if (!rc) return NULL;
+ if (rc) return NULL;
}
url = malloc(50 + strlen(dirName ? dirName : ""));