diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-17 16:28:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-17 16:28:10 +0000 |
commit | 9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch) | |
tree | 94c3c0678d1349497abe2db6004e9331e50f6d37 /loginutils/adduser.c | |
parent | a6127aacef047ed7661722705b052811fbe7f467 (diff) | |
download | busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.bz2 busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip |
whitespace cleanup
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r-- | loginutils/adduser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 0133d8288..936e48e0a 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c | |||
@@ -137,8 +137,8 @@ static int adduser(struct passwd *p, unsigned long flags) | |||
137 | if (mkdir(p->pw_dir, 0755) | 137 | if (mkdir(p->pw_dir, 0755) |
138 | || chown(p->pw_dir, p->pw_uid, p->pw_gid) | 138 | || chown(p->pw_dir, p->pw_uid, p->pw_gid) |
139 | || chmod(p->pw_dir, 02755)) { | 139 | || chmod(p->pw_dir, 02755)) { |
140 | bb_perror_msg("%s", p->pw_dir); | 140 | bb_perror_msg("%s", p->pw_dir); |
141 | } | 141 | } |
142 | } | 142 | } |
143 | 143 | ||
144 | if (!(flags & DONT_SET_PASS)) { | 144 | if (!(flags & DONT_SET_PASS)) { |
@@ -175,7 +175,7 @@ int adduser_main(int argc, char **argv) | |||
175 | /* got root? */ | 175 | /* got root? */ |
176 | if(geteuid()) { | 176 | if(geteuid()) { |
177 | bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); | 177 | bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); |
178 | } | 178 | } |
179 | 179 | ||
180 | /* create string for $HOME if not specified already */ | 180 | /* create string for $HOME if not specified already */ |
181 | if (!pw.pw_dir) { | 181 | if (!pw.pw_dir) { |