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