diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-04 23:50:13 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-04 23:50:13 +0000 |
commit | e07f0e5bce25a8e3cba8654d2d501a5e8a9f2b3a (patch) | |
tree | 04682fd536f5542c4ade225f24b029522856a855 /loader | |
parent | 74d59b45adb317644988c227ec5713e9735f1499 (diff) | |
download | anaconda-e07f0e5bce25a8e3cba8654d2d501a5e8a9f2b3a.tar.gz anaconda-e07f0e5bce25a8e3cba8654d2d501a5e8a9f2b3a.tar.xz anaconda-e07f0e5bce25a8e3cba8654d2d501a5e8a9f2b3a.zip |
hard drive installs are happier now (#59301)
Diffstat (limited to 'loader')
-rw-r--r-- | loader/loader.c | 6 |
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 : "")); |