diff options
author | Daniel Francis <francis@sugarlabs.org> | 2013-01-25 20:02:13 (GMT) |
---|---|---|
committer | Daniel Francis <francis@sugarlabs.org> | 2013-01-25 20:02:13 (GMT) |
commit | 45ff5b8ecfc50bedc68226894d8b71f4c47b4910 (patch) | |
tree | 75bc49224fab239b0f685ae2f8b74b634af3f0e2 | |
parent | cf134ec57680a67779e2ae2fc5dface9de254e26 (diff) |
Improve chroot script
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
-rwxr-xr-x | sugar-chroot | 7 |
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" + |