[X2Go-Commits] x2goserver.git - build-baikal (branch) updated: 3.0.99-2-305-gb8c2618

X2Go dev team git-admin at x2go.org
Fri Jan 3 18:04:26 CET 2014


The branch, build-baikal has been updated
       via  b8c2618c8f1efaf4ea3aa320538577c7481a54af (commit)
      from  059350c3ab42affeae78e7b14042838f46b69acd (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                     |    2 ++
 x2goserver/bin/x2goruncommand        |    4 ++++
 x2goserver/bin/x2goterminate-session |    4 ++++
 3 files changed, 10 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 324f095..f284e08 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -89,6 +89,8 @@ x2goserver (3.0.99.5-0~x2go3) UNRELEASED; urgency=low
   * Add debug output around shadow session startup (in x2gostartagent).
   * Pass extra argument $USER to client-mode x2godesktopsharing, requires
     x2godesktopsharing (>=3.0.1.3) for it to work.
+  * Clean session dir ~/.x2go/C-<session_id> after session terminates, if not
+    running in debug mode.
 
   [ Ivan Kabaivanov ]
   * Makefile fix around man page installation in x2goserver-compat package.
diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index 7e8db47..345ad33 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -128,3 +128,7 @@ kill -TERM  $X2GO_AGENT_PID
 $X2GO_LIB_PATH/x2gochangestatus 'F' $X2GO_SESSION  > /dev/null
 export HOSTNAME
 x2goumount-session $X2GO_SESSION
+
+if [ "$($X2GO_LIB_PATH/x2gologlevel)" != "debug" ]; then
+    rm -Rf $HOME/.x2go/C-$X2GO_SESSION
+fi
diff --git a/x2goserver/bin/x2goterminate-session b/x2goserver/bin/x2goterminate-session
index bcd1f9f..5b1cd23 100755
--- a/x2goserver/bin/x2goterminate-session
+++ b/x2goserver/bin/x2goterminate-session
@@ -48,3 +48,7 @@ kill -TERM $X2GO_AGENT_PID &>/dev/null && {
 
 export HOSTNAME
 x2goumount-session $SESSION_NAME
+
+if [ "$($X2GO_LIB_PATH/x2gologlevel)" != "debug" ]; then
+    rm -Rf $HOME/.x2go/C-$SESSION_NAME
+fi


hooks/post-receive
-- 
x2goserver.git (X2Go Server)

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 "x2goserver.git" (X2Go Server).




More information about the x2go-commits mailing list