diff --git a/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py b/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py index f2e2232f..830e042e 100644 --- a/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py +++ b/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py @@ -260,7 +260,9 @@ class MountContext(SubprocessMixin): cmd = ('umount', self.hostDir,) self.check_call(cmd, vmode=self.V1) - self.rmdir(self.hostDir) + if self.hostDir is not None: + self.rmdir(self.hostDir) + return False class BlkidEntry: