summaryrefslogtreecommitdiffstats
path: root/loader/cdinstall.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-11-12 17:23:00 -0500
committerPeter Jones <pjones@pjones2.localdomain>2008-11-12 17:23:00 -0500
commite7b3e458315a83340eb07b630da5f7194c035064 (patch)
treed9947e56e83217ec339e3037fdb659ffcbae5860 /loader/cdinstall.c
parent0fb1173b1947f8fdd3d1069d14e383c6c6796293 (diff)
downloadanaconda-e7b3e458315a83340eb07b630da5f7194c035064.tar.gz
anaconda-e7b3e458315a83340eb07b630da5f7194c035064.tar.xz
anaconda-e7b3e458315a83340eb07b630da5f7194c035064.zip
Explicitly close the CD drive after the user hits "continue" (#375011)
As a side effect, this makes it go through waitForCdromTrayClose(). Signed-off-by: Chris Lumens <clumens@redhat.com>
Diffstat (limited to 'loader/cdinstall.c')
-rw-r--r--loader/cdinstall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/cdinstall.c b/loader/cdinstall.c
index 454431a76..86abcea26 100644
--- a/loader/cdinstall.c
+++ b/loader/cdinstall.c
@@ -205,6 +205,7 @@ static void mediaCheckCdrom(char *cddriver) {
_("Test"), _("Continue"));
if (rc == 2) {
+ closeCdromTray(cddriver);
return;
} else {
continue;