summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'image.py')
-rw-r--r--image.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/image.py b/image.py
index 980bc3c9b..6ebf6fd37 100644
--- a/image.py
+++ b/image.py
@@ -73,7 +73,10 @@ class CdromInstallMethod(ImageInstallMethod):
% ("/mnt/source",))
def ejectCD(self):
- isys.ejectCdrom("/tmp/cdrom", makeDevice = 0)
+ try:
+ isys.ejectCdrom("/tmp/cdrom", makeDevice = 0)
+ except:
+ pass
def systemUnmounted(self):
if self.loopbackFile: