From e27ee1e024f2b824ae59311e5cb0f5ad37fc8f8e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 14 Jul 2016 15:09:57 +0200 Subject: try more quotes --- update_jdn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2