Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-chroot
diff options
context:
space:
mode:
Diffstat (limited to 'sugar-chroot')
-rwxr-xr-xsugar-chroot7
1 files changed, 3 insertions, 4 deletions
diff --git a/sugar-chroot b/sugar-chroot
index 817d8d4..87b67a1 100755
--- a/sugar-chroot
+++ b/sugar-chroot
@@ -50,8 +50,7 @@ xhost + > /dev/null
# Now chroot
chroot $@
-# Unmount all partitions
-umount "$CHROOT/dev"
+# Unmount all directories
umount "$CHROOT/proc"
@@ -68,5 +67,5 @@ umount "$CHROOT/var/lib/dbus"
umount "$CHROOT/var/run/pulse"
-#All done, reset.
-exit 0
+umount "$CHROOT/dev"
+