[X2go-Commits] x2goserver.git - master (branch) updated: 3.0.99-2-323-g048cd55

X2go dev team git-admin at x2go.org
Thu Sep 29 08:06:00 CEST 2011


The branch, master has been updated
       via  048cd556385891d5992b208cf6af415670da3f2e (commit)
      from  270d61468a94cca304a3da5292fe75d1698ba392 (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 048cd556385891d5992b208cf6af415670da3f2e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Sep 29 08:05:55 2011 +0200

    add log messages to x2goserver-run-extensions

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

Summary of changes:
 .../bin/x2goserver-run-extensions                  |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2goserver-extensions/bin/x2goserver-run-extensions b/x2goserver-extensions/bin/x2goserver-run-extensions
index 89b3fd9..f938171 100755
--- a/x2goserver-extensions/bin/x2goserver-run-extensions
+++ b/x2goserver-extensions/bin/x2goserver-run-extensions
@@ -33,6 +33,11 @@ X2GO_MODALITY=$2
 # scan extensions and execute them
 ls $X2GO_LIB_PATH/extensions/$X2GO_MODALITY.d/* | sort | while read x2go_extension; do
 	$X2GO_LIB_PATH/x2gosyslog "$0" "debug" "executing $x2go_extension with option $X2GO_SESSION"
-	$x2go_extension $X2GO_SESSION
+	$x2go_extension $X2GO_SESSION && {
+		$X2GO_LIB_PATH/x2gosyslog "$0" "info" "$x2go_extension$(basename $0) for session $X2GO_SESSION has finished sucessfully"
+	} || {
+		$X2GO_LIB_PATH/x2gosyslog "$0" "warn" "$x2go_extension$(basename $0) for session $X2GO_SESSION returned a non-zero exit code, continuing..."
+	}
 done
-exit 0
\ No newline at end of file
+
+exit 0


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