[X2go-Commits] x2gothinclient.git - master (branch) updated: 1.0.1.8-19-g779013f

X2Go dev team git-admin at x2go.org
Sun Sep 2 21:29:33 CEST 2012


The branch, master has been updated
       via  779013fd2592efb947dbdc598e647809728c44a1 (commit)
      from  0f565d4614affd6bafec0949ff049cff9f34c32f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 779013fd2592efb947dbdc598e647809728c44a1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Sep 2 21:29:30 2012 +0200

    fix unmounting of proc, sys and dev

-----------------------------------------------------------------------

Summary of changes:
 .../sbin/x2gothinclient_create                     |    4 ++--
 x2gothinclientmanagement/sbin/x2gothinclient_shell |    4 ++--
 .../sbin/x2gothinclient_upgrade                    |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

The diff of changes is:
diff --git a/x2gothinclientmanagement/sbin/x2gothinclient_create b/x2gothinclientmanagement/sbin/x2gothinclient_create
index 97b2443..22ade73 100755
--- a/x2gothinclientmanagement/sbin/x2gothinclient_create
+++ b/x2gothinclientmanagement/sbin/x2gothinclient_create
@@ -199,8 +199,8 @@ mount --bind /sys $TC_CHROOT/sys
 chroot $TC_CHROOT /x2go_tce_install.sh
 
 for mountpoint in proc dev sys; do
-	while 1; do
-		cat /proc/mounts | grep $TC_CHROOT/$mountpoint && umount $TC_CHROOT/$mountpoint || break
+	while true; do
+		cat /proc/mounts | grep $TC_CHROOT/$mountpoint >/dev/null && umount $TC_CHROOT/$mountpoint || break
 	done
 done
 
diff --git a/x2gothinclientmanagement/sbin/x2gothinclient_shell b/x2gothinclientmanagement/sbin/x2gothinclient_shell
index 18e4755..9dfeaaa 100755
--- a/x2gothinclientmanagement/sbin/x2gothinclient_shell
+++ b/x2gothinclientmanagement/sbin/x2gothinclient_shell
@@ -98,7 +98,7 @@ mount --bind /sys $TC_CHROOT/sys
 chroot "$TC_CHROOT" /x2go_tce_shell.sh
 
 for mountpoint in proc dev sys; do
-        while 1; do
-                cat /proc/mounts | grep $TC_CHROOT/$mountpoint && umount $TC_CHROOT/$mountpoint || break
+        while true; do
+                cat /proc/mounts | grep $TC_CHROOT/$mountpoint >/dev/null && umount $TC_CHROOT/$mountpoint || break
         done
 done
diff --git a/x2gothinclientmanagement/sbin/x2gothinclient_upgrade b/x2gothinclientmanagement/sbin/x2gothinclient_upgrade
index 52fd92a..218b4b9 100755
--- a/x2gothinclientmanagement/sbin/x2gothinclient_upgrade
+++ b/x2gothinclientmanagement/sbin/x2gothinclient_upgrade
@@ -99,7 +99,7 @@ mount --bind /sys $TC_CHROOT/sys
 chroot "$TC_CHROOT" /x2go_tce_upgrade.sh
 
 for mountpoint in proc dev sys; do
-        while 1; do
-                cat /proc/mounts | grep $TC_CHROOT/$mountpoint && umount $TC_CHROOT/$mountpoint || break
+        while true; do
+                cat /proc/mounts | grep $TC_CHROOT/$mountpoint >/dev/null && umount $TC_CHROOT/$mountpoint || break
         done
 done


hooks/post-receive
-- 
x2gothinclient.git (X2Go Thin Client Environment)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gothinclient.git" (X2Go Thin Client Environment).




More information about the x2go-commits mailing list