[X2Go-Commits] [x2goclient] 19/74: make unpacking of stdin values more robust
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:05:34 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.5.0.1
in repository x2goclient.
commit e047a7607e02a2ab9bbcd9c98692e429f20e6910
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sat Nov 10 20:03:48 2012 +0100
make unpacking of stdin values more robust
---
pyhoca-cli | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyhoca-cli b/pyhoca-cli
index 42fe2b6f..0e1718cc 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -374,7 +374,7 @@ Possible values for the --pack NX option are:
if a.from_stdin:
lightdm_remote_login_hash = sys.stdin.readline()
- (a.username, a.password, a.server, a.command) = lightdm_remote_login_hash.split()
+ (a.username, a.password, a.server, a.command) = lightdm_remote_login_hash.split()[0:3]
if ":" in a.server:
a.remote_ssh_port = a.server.split(':')[-1]
a.server = ':'.join(a.server.split(':')[:-1])
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list