summaryrefslogtreecommitdiffstats
path: root/pyanaconda/storage/devices.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/storage/devices.py')
-rw-r--r--pyanaconda/storage/devices.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index 56f871afd..1a4b4d071 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -3779,10 +3779,6 @@ class OpticalDevice(StorageDevice):
#try to umount and close device before ejecting
self.teardown()
- if flags.cmdline.has_key('noeject'):
- log.info("noeject in effect, not ejecting cdrom")
- return
-
try:
util.run_program(["eject", self.name])
except OSError as e: