[X2Go-Commits] [buildscripts] 01/01: bin/slave-start-chroot.sh: need to pass file path directly, no shell search.

git-admin at x2go.org git-admin at x2go.org
Sat Nov 25 07:01:02 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 6e534e75323b6788a3c89548b0c755d39f8d5ea2
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Nov 25 07:00:58 2017 +0100

    bin/slave-start-chroot.sh: need to pass file path directly, no shell search.
---
 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 f60b5f0..a3b3f1b 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('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