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

This commit is contained in:
Jochen Mehlich committed 2026-10-24 13:49:15 +02:00
1 parent fc560982b2
commit d19dae1f71
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ in_array() {
user_in_group() {
local -a groups
read -ra groups <<<"$(id -nG "$1")"
IFS=' ' read -ra groups <<<"$(id -nG "$1")"
in_array "$2" "${groups[@]}"
}