diff options
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index a2bc4c4144..9bcccb3f48 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py @@ -290,10 +290,7 @@ class DirectPlugin(ImagerPlugin): def cleanup(self): if self._image: - try: - self._image.cleanup() - except ImageError as err: - msger.warning("%s" % err) + self._image.cleanup() # Move results to the output dir if not os.path.exists(self.outdir): |