aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-11-04 15:43:26 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-11-04 15:43:26 +0000
commit6cee58e9cfedfa09ede3f5499eb5f635fc2bb77c (patch)
treee5aa03f1ca62b3d6aaa84b5821cfcbd1fb8253a9 /loginutils
parent360362dc5768e4ad4924fda677f6b7cedec24256 (diff)
downloadbusybox-6cee58e9cfedfa09ede3f5499eb5f635fc2bb77c.tar.gz
Announce 1.8.0
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/adduser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index e91417ad5..a859f4b0c 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -35,7 +35,7 @@ static void passwd_study(struct passwd *p)
/* check for a free uid (and maybe gid) */
while (getpwuid(p->pw_uid) || (!p->pw_gid && getgrgid(p->pw_uid)))
p->pw_uid++;
-
+
if (!p->pw_gid) {
/* new gid = uid */
p->pw_gid = p->pw_uid;
@@ -146,7 +146,7 @@ int adduser_main(int argc, char **argv)
if (mkdir(pw.pw_dir, 0755)
|| chown(pw.pw_dir, pw.pw_uid, pw.pw_gid)
|| chmod(pw.pw_dir, 02755) /* set setgid bit on homedir */
- ) {
+ ) {
bb_simple_perror_msg(pw.pw_dir);
}
}