diff --git a/debian/adduser.sh b/debian/adduser.sh index 1312597aa1..2649fdc019 100755 --- a/debian/adduser.sh +++ b/debian/adduser.sh @@ -9,6 +9,6 @@ test -n "${gitlab_user}" || gitlab_user="gitlab" # Create gitlab user with home in /var/lib echo "Creating/updating ${gitlab_user} user account..." adduser --system --home /var/lib/${gitlab_user} --gecos "${gitlab_user} user" --shell /bin/sh \ - --quiet --disabled-password ${gitlab_user} || { + --quiet --disabled-password --group ${gitlab_user} || { echo "Proceeding with existing ${gitlab_user} user..." }