[X2Go-Commits] [x2goclient] 02/05: sshprocess.cpp: add a bit more debugging - also print out the unmodified raw output of SSH commands.

git-admin at x2go.org git-admin at x2go.org
Thu Jun 11 04:23:22 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit 3b04b53b4ef0eb7b26194f8f8ef715aa739e687e
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Jun 11 03:30:36 2015 +0200

    sshprocess.cpp: add a bit more debugging - also print out the unmodified raw output of SSH commands.
---
 debian/changelog   |    2 ++
 src/sshprocess.cpp |    1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 21eeb1c..0baa7b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -58,6 +58,8 @@ x2goclient (4.0.4.1-0x2go1) UNRELEASED; urgency=low
       element of the list is passed as a unique argv element, so there's no
       need for quoting them (that's only a shell-internal thing to group
       arguments.)
+    - sshprocess.cpp: add a bit more debugging - also print out the unmodified
+      raw output of SSH commands.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Tue, 26 May 2015 21:42:09 +0200
 
diff --git a/src/sshprocess.cpp b/src/sshprocess.cpp
index 03bf271..271ef01 100644
--- a/src/sshprocess.cpp
+++ b/src/sshprocess.cpp
@@ -514,6 +514,7 @@ void SshProcess::slotChannelClosed(SshProcess* creator, QString uuid)
         int output_begin=stdOutString.indexOf(begin_marker) + begin_marker.length();
         int output_end=stdOutString.indexOf(end_marker);
         output = stdOutString.mid(output_begin, output_end-output_begin);
+        x2goDebug << "SSH finished: raw output (stdout): " << stdOutString;
         if ( output.length()<=0 &&  stdErrString.length() >0 )
         {
             normalExited=false;

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list