[X2Go-Commits] x2goclient.git - master (branch) updated: 4.0.1.1-13-g2053e46

X2Go dev team git-admin at x2go.org
Tue Oct 29 14:59:26 CET 2013


The branch, master has been updated
       via  2053e46bfda54ca967f01e637576c65697427952 (commit)
      from  c121b7e2d3d83abdc2d7a29637bc3294e38b2ec3 (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 2053e46bfda54ca967f01e637576c65697427952
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Oct 29 14:58:49 2013 +0100

    always have X2GODATAEND in commands' stdout, even if the executed X2Go command fails

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

Summary of changes:
 sshprocess.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The diff of changes is:
diff --git a/sshprocess.cpp b/sshprocess.cpp
index 3068ca0..1813142 100644
--- a/sshprocess.cpp
+++ b/sshprocess.cpp
@@ -132,7 +132,7 @@ void SshProcess::startNormal(const QString& cmd)
     QUuid uuid = QUuid::createUuid();
     QString uuidStr = uuid.toString().mid(1, 36).toLower();
 
-    QString shcmd = "sh -c \"echo X2GODATABEGIN:" + uuidStr + " && "+cmd+" && echo X2GODATAEND:" + uuidStr +"\";";
+    QString shcmd = "sh -c \"echo X2GODATABEGIN:" + uuidStr + "; "+cmd+"; echo X2GODATAEND:" + uuidStr +"\";";
 //#ifdef DEBUG
 // ONLY UNCOMMENT FOR TESTING, MIGHT REVEAL PASSWORD WHEN command=RDP
 //    x2goDebug<<"executing remote command: "<<shcmd<<endl;


hooks/post-receive
-- 
x2goclient.git (X2Go Client)

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 "x2goclient.git" (X2Go Client).




More information about the x2go-commits mailing list