mirror of
https://github.com/atmoz/sftp.git
synced 2024-12-08 13:05:39 -05:00
Merge branch 'master' into alpine
This commit is contained in:
commit
a13a5b2499
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function createUser() {
|
|||
|
||||
if [ -n "$gid" ]; then
|
||||
if ! $(cat /etc/group | cut -d: -f3 | grep -q "$gid"); then
|
||||
groupadd --gid $gid $gid
|
||||
groupadd --gid $gid "group_$gid"
|
||||
fi
|
||||
|
||||
useraddOptions="$useraddOptions --gid $gid"
|
||||
|
|
Loading…
Reference in a new issue