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

x2go pushed a commit to branch master
in repository buildscripts.

commit ea92e30e6c45b9fc352e59d079b93ea9efe5de36
Author: Mihai Moldovan <io...@ionic.de>
Date:   Fri Dec 8 06:36:23 2017 +0100

    bin/slave-start-prepare.sh: let sudo spawn login shells.
    
    Avoids PATH issues.
---
 bin/slave-start-prepare.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/slave-start-prepare.sh b/bin/slave-start-prepare.sh
index edf8d33..6cb94aa 100755
--- a/bin/slave-start-prepare.sh
+++ b/bin/slave-start-prepare.sh
@@ -18,7 +18,7 @@ if [[ "${#}" -eq "0" ]]; then
   # data (after exec calls.)
   "${HOME}/bin/slave-sync.sh"
 
-  exec sudo -n -u "${USER}" -- "${0}" --initialized
+  exec sudo -n -u "${USER}" -i -- "${0}" --initialized
 else
   if [[ "${1}" == "--initialized" ]]; then
     # Script re-executed via sudo. Groups should match the inner

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/buildscripts.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to