Skip to content
Snippets Groups Projects
Commit 5efe2e5e authored by John Crispin's avatar John Crispin
Browse files

base-files: the USERID code path did not check for duplicate groups


Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

SVN-Revision: 42919
parent a08f4367
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ default_postinst() { ...@@ -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=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment