[X2Go-Commits] x2gobroker.git - tmp (branch) updated: 0.0.0.5-59-g63ca4fa

X2Go dev team git-admin at x2go.org
Tue Apr 23 21:08:58 CEST 2013


The branch, tmp has been updated
       via  63ca4fa3a6bccff85f1ebc51548cd8a1b95c62af (commit)
      from  f744b3940f0b8cf705b9add326ed67703ee07243 (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:
 x2gobroker/agent.py |    1 +
 1 file changed, 1 insertion(+)

The diff of changes is:
diff --git a/x2gobroker/agent.py b/x2gobroker/agent.py
index 4b14ce3..6b4a251 100644
--- a/x2gobroker/agent.py
+++ b/x2gobroker/agent.py
@@ -122,6 +122,7 @@ def call_remote_broker_agent(username, mode, cmdline_args=[], remote_agent=None)
         ssh_transport = client.get_transport()
         if ssh_transport and ssh_transport.is_authenticated():
             cmd = ' '.join(cmd_line)
+            cmd = 'sh -c \"{cmd}\"'.format(cmd=cmd)
             logger_broker.debug('Executing agent command on remote host ({remote_agent}): {cmd}'.format(remote_agent=remote_agent['hostname'], cmd=cmd))
             (stdin, stdout, stderr) = client.exec_command(cmd)
             result = stdout.read().split('\n')


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

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 "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list