summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/unschroot.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/unschroot.py b/examples/unschroot.py
index 01029f7..88c105f 100755
--- a/examples/unschroot.py
+++ b/examples/unschroot.py
@@ -71,7 +71,13 @@ class Chroot:
if self.namespace == "Chroot":
lines.extend(["Type file", f"File {self.path}"])
if self.namespace == "Session":
- lines.extend([f"Location {self.path}", "Session Purged true"])
+ lines.extend(
+ [
+ f"Location {self.path}",
+ "Session Purged true",
+ "Type unshare",
+ ]
+ )
lines.append("Aliases " + " ".join(sorted(self.aliases)))
return "".join(map("%s\n".__mod__, lines))