summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--py/mock/plugins/selinux.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mock/plugins/selinux.py b/py/mock/plugins/selinux.py
index 6d15a94..fd4bf2e 100644
--- a/py/mock/plugins/selinux.py
+++ b/py/mock/plugins/selinux.py
@@ -60,7 +60,7 @@ class SELinux(object):
host.close()
self.rootObj.mountCmds.append("mount -n --bind %s %s" % (self.filesystems, self.chrootFilesystems))
- self.rootObj.umountCmds.insert(0, "umount -n %s" % self.chrootFilesystems)
+ self.rootObj.umountCmds.append("umount -n %s" % self.chrootFilesystems)
decorate(traceLog())
def _selinuxPostBuildHook(self):