--- pyanaconda/image.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/pyanaconda/image.py b/pyanaconda/image.py index b590276..ed74976 100644 --- a/pyanaconda/image.py +++ b/pyanaconda/image.py @@ -198,7 +198,8 @@ def scanForMedia(tree, storage): return None def umountImage(tree): - isys.umount(tree, removeDir=False) + if os.path.ismount(tree): + isys.umount(tree, removeDir=False) def unmountCD(dev, messageWindow): if not dev: -- 1.7.3.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list