diff options
author | Tito Ragusa <farmatito@tiscali.it> | 2010-01-09 18:06:40 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-09 18:08:35 +0100 |
commit | 0681137972dc89b5003b0415e09184c0ecf1c875 (patch) | |
tree | 56858dc8bc8cd1ce76b7049add7e99677406626c | |
parent | 6fd42b3d00bb35d38eaa0fc64409992a4760f749 (diff) | |
download | busybox-w32-0681137972dc89b5003b0415e09184c0ecf1c875.tar.gz busybox-w32-0681137972dc89b5003b0415e09184c0ecf1c875.tar.bz2 busybox-w32-0681137972dc89b5003b0415e09184c0ecf1c875.zip |
adduser: fix a logical inversion which made -G GRP inoperative
Signed-off-by: Tito Ragusa <farmatito@tiscali.it>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | loginutils/adduser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 0e9936ad1..ff30a592d 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c | |||
@@ -190,7 +190,7 @@ int adduser_main(int argc UNUSED_PARAM, char **argv) | |||
190 | /* add to group */ | 190 | /* add to group */ |
191 | /* addgroup should be responsible for dealing w/ gshadow */ | 191 | /* addgroup should be responsible for dealing w/ gshadow */ |
192 | /* if using a pre-existing group, don't create one */ | 192 | /* if using a pre-existing group, don't create one */ |
193 | if (!usegroup) | 193 | if (usegroup) |
194 | addgroup_wrapper(&pw); | 194 | addgroup_wrapper(&pw); |
195 | 195 | ||
196 | /* clear the umask for this process so it doesn't | 196 | /* clear the umask for this process so it doesn't |