[X2Go-Commits] x2goserver.git - build-main (branch) updated: 3.0.99-2-15-ge8b312b
X2Go dev team
git-admin at x2go.org
Wed Dec 4 06:17:21 CET 2013
The branch, build-main has been updated
via e8b312b4c4d2b99eae7cf08c130366d4cb18a834 (commit)
from bc7c1ee39389edde4882981f410707f19a4362b7 (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:
x2gosuspend-session | 6 +++++-
x2goterminate-session | 7 ++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/x2gosuspend-session b/x2gosuspend-session
index c79d490..4e29188 100755
--- a/x2gosuspend-session
+++ b/x2gosuspend-session
@@ -1,6 +1,10 @@
#!/bin/bash
-SESSION_NAME=$1
+if [ $# -eq 1 ]; then
+ SESSION_NAME=$1
+else
+ SESSION_NAME=$X2GO_SESSION
+fi
X2GO_AGENT_PID=`x2gogetagent $SESSION_NAME`
diff --git a/x2goterminate-session b/x2goterminate-session
index 5d31543..0b4f83a 100755
--- a/x2goterminate-session
+++ b/x2goterminate-session
@@ -1,6 +1,11 @@
#!/bin/bash
-SESSION_NAME=$1
+if [ $# -eq 1 ]; then
+ SESSION_NAME=$1
+else
+ SESSION_NAME=$X2GO_SESSION
+fi
+
X2GO_AGENT_PID=`x2gogetagent $SESSION_NAME`
X2GO_AGENT_PID=`echo "$X2GO_AGENT_PID"| awk {'print $1'}`
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