Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-chroot
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2013-01-25 20:02:13 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2013-01-25 20:02:13 (GMT)
commit45ff5b8ecfc50bedc68226894d8b71f4c47b4910 (patch)
tree75bc49224fab239b0f685ae2f8b74b634af3f0e2 /sugar-chroot
parentcf134ec57680a67779e2ae2fc5dface9de254e26 (diff)
Improve chroot script
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
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"
+