[X2Go-Commits] [buildscripts] 01/01: bin/slave-start-chroot.sh: input argument to pty.spawn as a list.

git-admin at x2go.org git-admin at x2go.org
Sat Nov 25 07:06:19 CET 2017


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

x2go pushed a commit to branch master
in repository buildscripts.

commit 2a7fe4c7292e50361037e5e7a79e904aceef88ae
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Nov 25 07:06:16 2017 +0100

    bin/slave-start-chroot.sh: input argument to pty.spawn as a list.
---
 bin/slave-start-chroot.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/slave-start-chroot.sh b/bin/slave-start-chroot.sh
index a3b3f1b..3c1209f 100755
--- a/bin/slave-start-chroot.sh
+++ b/bin/slave-start-chroot.sh
@@ -22,4 +22,4 @@ fi
 
 "${HOME}/bin/slave-sync.sh"
 
-schroot -c "${chroot}" -- python -c "import pty; pty.spawn('/bin/su - \"${USER}\" -c \"bin/${prefix}-slave-start-prepare.sh\"')"
+schroot -c "${chroot}" -- python -c "import pty; pty.spawn(['/bin/su', '-', '${USER}', '-c', 'bin/${prefix}-slave-start-prepare.sh'])"

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list