diff options
-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 |