base-files: the USERID code path did not check for duplicate groups
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42919
This commit is contained in:
parent
a08f4367c0
commit
5efe2e5e3c
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ default_postinst() {
|
||||||
}
|
}
|
||||||
|
|
||||||
gid=$id
|
gid=$id
|
||||||
[ -n "$gid" ] && group_add $name $gid
|
[ -n "$gid" ] && group_exists $name || group_add $name $gid
|
||||||
[ -z "$gid" ] && {
|
[ -z "$gid" ] && {
|
||||||
group_add_next $name
|
group_add_next $name
|
||||||
gid=$?
|
gid=$?
|
||||||
|
|
Loading…
Reference in a new issue