projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fd42b3
)
adduser: fix a logical inversion which made -G GRP inoperative
author
Tito Ragusa
<farmatito@tiscali.it>
Sat, 9 Jan 2010 17:06:40 +0000
(18:06 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 9 Jan 2010 17:08:35 +0000
(18:08 +0100)
Signed-off-by: Tito Ragusa <farmatito@tiscali.it>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/adduser.c
patch
|
blob
|
history
diff --git
a/loginutils/adduser.c
b/loginutils/adduser.c
index 0e9936ad191601538db26270c56819158de7bb65..ff30a592d1e691ae35fe326f305316186f779414 100644
(file)
--- a/
loginutils/adduser.c
+++ b/
loginutils/adduser.c
@@
-190,7
+190,7
@@
int adduser_main(int argc UNUSED_PARAM, char **argv)
/* add to group */
/* addgroup should be responsible for dealing w/ gshadow */
/* if using a pre-existing group, don't create one */
- if (
!
usegroup)
+ if (usegroup)
addgroup_wrapper(&pw);
/* clear the umask for this process so it doesn't