docker-deploy.sh: Gruppenprüfung scheiterte wegen IFS ohne Leerzeichen (id -nG wurde nicht gesplittet)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jochen MehlichandClaude Sonnet 5.5 committed 2026-10-24 13:49:15 +02:00
1 parent ba23d5bcc3
commit 49d3221c91
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ in_array() {
user_in_group() { user_in_group() {
local -a groups local -a groups
read -ra groups <<<"$(id -nG "$1")" IFS=' ' read -ra groups <<<"$(id -nG "$1")"
in_array "$2" "${groups[@]}" in_array "$2" "${groups[@]}"
} }