diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-07-14 15:09:57 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-07-14 15:09:57 +0200 |
commit | e27ee1e024f2b824ae59311e5cb0f5ad37fc8f8e (patch) | |
tree | 3d3b25678f542c880b8e7c53fead51c9f2043b00 | |
parent | cb56b15565d94ceefef3495135d26af3f954dbad (diff) | |
download | jenkins.debian.net-e27ee1e024f2b824ae59311e5cb0f5ad37fc8f8e.tar.xz |
try more quotes
-rwxr-xr-x | update_jdn.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index bb06948e..a1d5f0de 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -92,7 +92,7 @@ $UP2DATE || for user in ${users}; do # add groups: first try the specific host, or if unset fall-back to default '*' setting for h in "$HOSTNAME" '*' ; do if [ -v user_host_groups["$user","$h"] ] ; then - sudo usermod -G ${user_host_groups["$user","$h"]} $user + sudo usermod -G "${user_host_groups["$user","$h"]}" $user break fi done |