[X2Go-Commits] [buildscripts] 01/01: bin/slave-start-prepare.sh: don't use special array-like splitting when calling sg.
git-admin at x2go.org
git-admin at x2go.org
Sat Nov 25 10:10:26 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 0cb3b3f36a82582a812587f3050d9f1f84aee66d
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Nov 25 10:10:23 2017 +0100
bin/slave-start-prepare.sh: don't use special array-like splitting when calling sg.
Fixes skipped parameters.
---
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 53be85b..db6ece6 100755
--- a/bin/slave-start-prepare.sh
+++ b/bin/slave-start-prepare.sh
@@ -25,7 +25,7 @@ else
typeset cur_group="${1}"
shift
- exec sg "${cur_group}" "${0} --set-groups ${@}"
+ exec sg "${cur_group}" "${0} --set-groups ${*}"
else
# No more groups in list, make the primary group actually primary.
# Note that while the sg man page says that it supports the "-"
--
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